How to get Polyline2d from Vertex2d

How to get Polyline2d from Vertex2d

Anonymous
Not applicable
532 Views
2 Replies
Message 1 of 3

How to get Polyline2d from Vertex2d

Anonymous
Not applicable
Having got a hold of a polyline2d's vertex2d sub entity (with a GetNestedEntity() call) is there a simple way to get the ObjectID of the parent ployline2d from the nested entity's ObjectID. GetContainers() does not seem to do it (or my inexerience has probably got me playing idiot). I'm busy converting an AutoLisp prog.
0 Likes
533 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Have you tried DBObject.OwnerId() ?

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Having
got a hold of a polyline2d's vertex2d sub entity (with a GetNestedEntity()
call) is there a simple way to get the ObjectID of the parent ployline2d from
the nested entity's ObjectID. GetContainers() does not seem to do it (or my
inexerience has probably got me playing idiot). I'm busy converting an
AutoLisp prog.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Of all the things that I have lost I miss my mind the most . Many thanks
0 Likes