Hi there
I would like to change the vertices of polylines, but I can only change the first one.
I Can't seem to find the answer anywhere.
Thanks a lot
|
Hi there
I would like to change the vertices of polylines, but I can only change the first one.
I Can't seem to find the answer anywhere.
Thanks a lot
R.K. McSwain | CAD Panacea |
Just for the record, you can do this in PEdit...
Code:Command: pe PEDIT Select polyline or [Multiple]: Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Undo]: e Enter a vertex editing option [Next/Previous/Break/Insert/Move/Regen/Straighten/Tangent/Width/eXit] <N>: n Enter a vertex editing option [Next/Previous/Break/Insert/Move/Regen/Straighten/Tangent/Width/eXit] <N>: m Specify new location for marked vertex: Enter a vertex editing option [Next/Previous/Break/Insert/Move/Regen/Straighten/Tangent/Width/eXit] <N>: Enter a vertex editing option [Next/Previous/Break/Insert/Move/Regen/Straighten/Tangent/Width/eXit] <N>: *Cancel*
and if you arent looking for lisp, 2011 has some pretty cool improvements to polylines that make editing a piece of cake.
Yes I want to do it with autolisp, sorry if I was vague.
I erased my frustrated attempt to doing it.
I know how to access them, but I don't know how to update the polyline with my changes.
I had the changes in a loop, but when I pass it through the entupd command it only applies the changes to the first vertex of the polyline
Last edited by rdogomes; 2010-03-31 at 04:02 PM.
Just as an example:
What if I wanted to add 1 to the y coordinate of the vertices of a polyline?
There isn't much use to that I know, but I want to be able to update the polyline with some calculations I would like.
This might help...
http://www.theswamp.org/index.php?topic=18720.30
I'm checking it right now. I had to wait for the registering process