joining polylines

joining polylines

Anonymous
Not applicable
670 Views
1 Reply
Message 1 of 2

joining polylines

Anonymous
Not applicable
I need to join polylines that share an endpoint. I have everything ready to find all the joinable polylines, but I don't have a command that can join them. What commands are available for me to join them from c#? If necessary do I need to run SendStringToExecute() with the pedit command? If so how do I manage the "selection" of the polylines?
0 Likes
671 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
If your code runs from a registered command handler,
you can download this to run PEDIT:

http://www.caddzone.com/CommandLine.cs

The Command() method from that file can accept any
type of data that you can pass to LISP's (command)
function (use ObjectIds where you pass entity names
to the latter).

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6348755@discussion.autodesk.com...
I need to join polylines that share an endpoint. I have everything ready to
find all the joinable polylines, but I don't have a command that can join them.
What commands are available for me to join them from c#? If necessary do I need
to run SendStringToExecute() with the pedit command? If so how do I manage the
"selection" of the polylines?
0 Likes