Valued Contributor
Posts: 95
Registered: ‎04-04-2012
Message 1 of 2 (90 Views)

Changing 3D View to Top View

90 Views, 1 Replies
08-02-2013 03:17 AM

Thank you for the clue.


I tried this, but I am still stuck.


How do I join the entities?
I guess if they are only lines, I can just create a new polyline with every vertices of the lines.
But I have arcs as parts of the entities, I don't think I can just link as a polyline for an arc.


So I tried the following...


ObjectId[] oIDs = oIDList.ToArray();
Editor ed = doc.Editor;
PromptSelectionResult psr = ed.SelectImplied();
if (psr.Status == PromptStatus.OK)
       doc.SendStringToExecute("._PEDIT\n_m\n_p\n\n_y\n_join\n\n\n", true, false, false);


It works, but this is not the perfect solution I wanted.
I need to Transform the joined polyline, meaning I need to get the ObjectId of newly created joined polyline.
I guess I can use ObjectAppended?


Or is there any other simpler way to join the entities???

*Expert Elite*
Posts: 1,569
Registered: ‎10-08-2008
Message 2 of 2 (83 Views)

Re: Changing 3D View to Top View

08-02-2013 03:43 AM in reply to: dynamicscope
If you ignored the answer to your previous topic, I do not think that there are many persons who want to respond to you on this specific topic
Keep track of your topics before
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.