.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing 3D View to Top View

1 REPLY 1
Reply
Message 1 of 2
dynamicscope
347 Views, 1 Reply

Changing 3D View to Top View

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???

1 REPLY 1
Message 2 of 2
Hallex
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

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost