AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Topology Element ID from a Closed Polyline

1 REPLY 1
Reply
Message 1 of 2
Anonymous
549 Views, 1 Reply

Topology Element ID from a Closed Polyline

I'm a newbie at both MAP and customizing MAP.  I'm having a little trouble with data access.  I have successfully created a Topology and then created closed Polylines from it with the option to copy the Centroid data to the polyline.  The Centroid data shows up when I select the polyline using "Edit Object Data".

 

I want to retrieve the Element ID from the polyline so I can reference the centroid and its data.  Since there is obviously an association between the two somewhere, how do I extract this field?

 

Thanks in advance.

 

J Leavitt

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Did you check the following TopologyModel:: GetEntityId Method -> Retrieves the object ID of the AutoCAD entity associated with the specified topology element ID in the current drawing or source drawing.

 

Does it help ?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost