We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
構造全般

構造全般

Mechanicalでフォントサイズを変更する方法を教えてください。

Tagged:

    • FAQFAQ
      Participant

      Ansys Mechanicalでは、グラフィックスウィンドウのフォントをユーザー側で変更する方法について、正式にはサポートしていません。ただし、一部のユーザーは次のようなマクロを用いて、フォント設定を変更しています。 // デフォルトのフォントの高さは16 // ds.Graphics.SetFontStyle( 0, ‘Arial’, 0, 0, 16, 0, 0 ); // このスクリプトでは30に設定 // フォントインデックス0はルーラーのフォント // フォントインデックス2はレジェンドのフォント(10.0時点) DS.Graphics.SetFontStyle( 0, ‘Arial’, 0, 0, 30, 0, 0 ); DS.Graphics.SetFontStyle( 2, ‘Arial’, 0, 0, 30, 0, 0 ); DS.Graphics.Redraw(1); “SetFontStyle.js”という名前のファイルとして、このマクロを適切な場所に保存する必要があります。さらに、Mechanical/Simulation内から、次の項目を選択します。[Tools] > [Run Macro] > [SetFontStyle.js]