I am new in developing automation in pcb env. using c# .Net
I need to collect object of type obstruct.
I am using the Pick function:
robstructs = doc.Pick(minx, miny, maxx, maxy, EPCBObjectClassType.epcbObjectClassConductorLayerGFX);
(Hoping that I selected the right EPCBObjectClassType enum value)
When I'm looping the collection robstructs I need to check which of the objects are truly Obstrcut because I'm getting other types.
I know that by asking if(robstruct.Type == 32) I can find the objects I need. But I want to know were this "32" coming from? Which Enum defines it?
I suspect that maybe it's EPCBObjectClassType or EPCBOnNotifyType ???
I would appreciate any help in that matter.