Pline1 -> 2D Polyline 2 -> Spline3 -> Pline4. I want Pline4 = Pline1

Pline1 -> 2D Polyline 2 -> Spline3 -> Pline4. I want Pline4 = Pline1

Anonymous
Not applicable
348 Views
1 Reply
Message 1 of 2

Pline1 -> 2D Polyline 2 -> Spline3 -> Pline4. I want Pline4 = Pline1

Anonymous
Not applicable

Hello,
let's watch this:
POLYLINE -> Draw a Polyline (Let's name it Pline.1) -> PEDIT -> Spline ->
 -> We get 2D Polyline made by "PEDIT -> Spline" command (Let's name it 2DPline.2).
The other 2D Polyline is 2D Polyline made by "PEDIT -> Fit" command.
But 2D Polyline made by "PEDIT -> Fit" command can't be converted to Spline.
It is not converted to Spline by the "SPLINE -> Object" command
Now select this 2D Polyline made by "PEDIT -> SPline" command ->
 -> SPLINE -> Object -> We get Spline (Let's name it Spline.3).
Now select this Spline -> PEDIT -> Convert it into a Polyline? -> Yes
 -> Enter to exit from PEDIT command -> We get a Polyline (Let's name it Pline.4).
But this Polyline looks the same as Spline (looks like it was a Spline).
Simply describing, it's a Spline-look-like Polyline.
And here is my question:
Is that possible, to bring back original shape of our Poliline?
It means, shape of Pline.4 is the same as shape of Pline.1?
I tried to use PEDIT -> Decurve on Pline4, but it looks like it has no effect.
Please, answer my question.
Maybe there is possibility to write a lisp which could restore original shape of Pline.1?
I found a lisp
https://autocadtips.wordpress.com/2011/07/17/autolisp-spline-to-polyline/
but it can't restore the shape of Pline.1.

0 Likes
349 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

While converting the Spline into pline it is being stroked into many vertices to match its shape. So, I guess it is not possible to bring back the original shape.

 

Regards,

gsktry

0 Likes