I am a newbee here, and I would like to learn which is the best way to find the intersections (if any) between a shape in my layout (e.g. a rectangle) and an ideal line using SKILL (6). I need then to reiterate the procedure through all the objects in my layout.
It would be even better if the "ideal line" would be a selected ruler segment.
Do you have any hint?
Thanks a lot in advance!
The code I pointed you to is close to what you want, except that only deals with top level shapes. You could extend the dbGetOverlaps call in the code to return things from down in the hierarchy, and then transform the coordinates being compared to the top level coordinate system by using dbTransformPoint and dbGetHierPathTransform.
dbGetOverlap can specify the layer-purpose that is being used too.
Sorry for not giving much detail - most of the info is in the code I already sent, and I'm rather short of time at the moment as I'm out of the office.