CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1754 

CAD tip CAD tip # 5673:

Question CAD 
 %  platform  category 
Q - question

How to convert a 3DPOLYLINE to a 2DPOLYLINE (LWPOLYLINE)?

A - answer There are several ways to convert a three-dimensional 3DPOLYLINE entity to a standard 2D lightweight polyline (lwpolylines):
  1. If you want to just cut-off the Z-coordinates of a 3D polyline (make it appear 2D), use the FLATTEN command (Express Tools) to zero all Z-coordinates.
  2. The FLATSHOT command converts the whole view into a 2D drawing
  3. You can EXPLODE the 3DPOLYLINE and then PEDIT>Join (PLJOIN) the resulting 2D lines (segments) back to a 2D polyline.
  4. You can use a LISP utility to perform the conversion to a LWPOLYLINE - e.g. the PL32 command from the CADALYST September 2003 code (pline-3d-2d.lsp).
ACAD
100% *  CAD 
25.7.2007    52074x  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 7796:How to display linetypes for 3D polylines.
Tip 7329:Draw 3D polyline by length, azimuth, slope.
Tip 7266:How to convert 2D polyline to 3D polyline?
Tip 6706:What is the maximum number of vertices in AutoCAD polylines?
Tip 6692:Simply create points or polyline from coordinates in Excel.


Back   All CAD Tips All CAD tips&tricks

Exporting layout contents to a modelspace DWG file. « | » Automatic contour label for AutoCAD.

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist