Skip to main content

Hello to all,

I read the topic about : “how to ignore Surface in API”. I tried to do something similar for non-sequential object but it is not working. 

        surf4 = TheSystem.NCE.GetObjectAt(4)

        surf4.TypeData.IgnoreObjects = 1

First TypeData.IgnoreObjects want a string but I don’t know what to write. 

Thank you very much in advance fir your answer. 

Clotilde 

Hi Clotilde,

Try using:  surf4.TypeData.RaysIgnoreObject = ZOSAPI.Editors.NCE.RaysIgnoreObjectType.Always;

 

 

Regards,

Jeff


Hi Jeff, 

Thank you very much for your answer !! 

It is working :) 

Regards, 

Clotilde 


Reply