Skip to main content

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:

 

Be the first to reply!

Reply