new

Hi,

I am stuck at one point, i have routinng line(which i have to move to some layer), but it should be in some different layer then the normal line.

when i use ask_type_and_subtype, it returns 3 & 0, for both line & routing line

are there any functions which take object tag of(type=3 & subtype=0), & return something through which i can differntiate that this is routing line.

Thanks

You can access all of the routing segments through the part's .SegmentManager property.
Lines, arcs, and splines each have their own collection that you can use.

workPart.SegmentManager.LineSegments
workPart.SegmentManager.ArcSegments
workPart.SegmentManager.SplineSegments

For your task, you could move all the objects in the .LineSegments collection to the desired layer.

Hi,

I am using Ufunc any functions available for same ?
Thanks

What programming language are you using?

Hi,

I am using c.
Thanks

You might be able to use the UF_ROUTE_ask_part_segs function.