I’m still new to the API and having trouble getting and setting the “Ignore this surface” via the API.
I’m working in Matlab and trying:
but get the error:
The property 'IgnoreSurface' in class 'ZOSAPI.Editors.LDE.ILDETypeData' must be accessed from a class instance because it is not a Constant property.
Can someone point me in the right direction?
Best answer by Jeff.WildeView original
Try this to flip the IgnoreSurface switch from Off (0) to On (1) :
Then you can see the results:
Excellent, this works. Thank you Jeff.
Hi, I would like to do the same but in non sequential mode.
I tried this lines but it’s not working :
surf4 = TheSystem.NCE.GetObjectAt(4)
surf4.TypeData.IgnoreObjects = 1
Do you know why and what I can do ?
Thank you very much.
See response here: