PDA

View Full Version : Line type transformation



Linda
28th Feb 2007, 03:38 pm
Hello,
How to transform "Line"(with x,y,z) to "3DPolyline"?How to transform "Polyline"(with x,y,z) to "3DPolyline"?Thank you!
All the best,
Linda

WagglyFawn
28th Feb 2007, 04:01 pm
Type "PEDIT" into the command line and select your line. Then hit enter for "Yes". AutoCAD will give you a list of options to choose from and you will want to type in "Join" enter. Then select all the lines you want to turn into a polyline and there you go!

Now... why do you want a polyline to be a 3Dpolyline? Polylines HAVE to be flat on a plane while 3Dpolylines can go any direction in the x,y, or z.

Linda
28th Feb 2007, 04:32 pm
Hello,
Thank you for your help!The reason why I want to transform the line type from "polyline" to "3DPolyline" is that I am working for the coordinates transformation in Matlab.When the line type is "3DPolyline",the transformation works quite well.However,when it is "Line" or "Polyline",after transformation it goes bad.In Matlab,I just read .dxf file one line by one line and only modify the coordinates.

Linda