Skip to main content
Question

ZOS-API Example does not work as expected

  • January 11, 2025
  • 0 replies
  • 20 views

mocquin

In the example 17 from the ZOS-API doc, the number or analsyis and layout rays are changed:

#! [e17s04_py]
# Source point
oType_1 = Object_1.GetObjectTypeSettings(ZOSAPI.Editors.NCE.ObjectType.SourcePoint)
Object_1.ChangeType(oType_1)
Source1_data = Object_1.ObjectData
Source1_data.NumberOfLayoutRays = 3
Source1_data.NumberOfAnalysisRays = 1000000
#! [e17s04_py]

But when I open the file created by the script, those parameters are 0 in the NCE:

 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings