Message 1 of 2
Changing 3D View to Top View
Not applicable
08-02-2013
03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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???