Skip to main content

How use DoNotDrawObject?

I trued like below but seems it wrong

Object = TheNCE.GetObjectAt(obj)
Object.TypeData.RaysIgnoreObject = ZOSAPI.Editors.NCE.RaysIgnoreObjectType.Never
Object.TypeData.DoNotDrawObject = True

 

@Aleksandr.Makarov 

 

DoNotDrawObject is a property of DrawData and not TypeData.

Object = TheSystem.NCE.GetObjectAt(1)
ObjectDrawData = Object.DrawData
ObjectDrawData.DoNotDrawObject = True

Take care,

 

David


Reply