Sandeep Medikonda
Ansys Employee

Hi Muhammad,


You can also write a simple macro such as:



DS.Graphics.SetFontStyle( 0, 'Arial', 0, 0, 30, 0, 0 );


DS.Graphics.SetFontStyle( 2, 'Arial', 0, 0, 30, 0, 0 );


DS.Graphics.Redraw(1);



Note that the default font size is 16 and here we are changing it to 30 using index 2.


Lastly, You need to save this macro as a file named “SampleFont.js” in a convenient location. Then from within Mechanical: Tools> Run Macro > SampleFont.js.


Hope this helps.


Regards,


Sandeep