.NET

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

Changing 3D View to Top View

92 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;
ed.SetImpliedSelection(oIDs);
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*
Hallex
Posts: 1,569
Registered: ‎10-08-2008
Message 2 of 2 (85 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
_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.