Skip to main content
Solved

Fast Semi-Diameters

  • October 4, 2022
  • 1 reply
  • 116 views

How can I check/uncheck Fast Semi-Diameters from within a macro?

Best answer by MichaelH

Hi Gary,

This is something that is not hooked up with the ZPL (it would be under the SYSP keyword but this function was added after SYSP was implemented and the keyword was never updated), but it is available in the API.  To toggle this in the API, you can use the following code:

TheSystem.SystemData.Aperture.FastSemiDiameters = true;

 

1 reply

MichaelH
Ansys Staff
Forum|alt.badge.img+2
  • Ansys Staff
  • Answer
  • October 4, 2022

Hi Gary,

This is something that is not hooked up with the ZPL (it would be under the SYSP keyword but this function was added after SYSP was implemented and the keyword was never updated), but it is available in the API.  To toggle this in the API, you can use the following code:

TheSystem.SystemData.Aperture.FastSemiDiameters = true;