Submitted by beginnernx on Thu, 06/04/2015 - 04:44
Forums:
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
re: routing lines
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,
Hi,
I am using Ufunc any functions available for same ?
Thanks
programming language
What programming language are you using?
Hi, I am using c. Thanks
Hi,
I am using c.
Thanks
re: segments
You might be able to use the UF_ROUTE_ask_part_segs function.