Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 4541

Selecting Obstruct Objects

$
0
0

hi,

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.

Thanks

Ester

 

 

 


Viewing all articles
Browse latest Browse all 4541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>