CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 4687

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    107219×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 13967:Drawing polylines using arbitrary length units - 2DpolyC.
Tip 11913:Simple export of vertex-coordinates from a selected polyline.
Tip 7796:How to display linetypes for 3D polylines.
Tip 7329:Draw 3D polyline by length, azimuth, slope.
Tip 6706:What is the maximum number of vertices in AutoCAD polylines?


Back   All CAD Tips



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:
Generate hatch patterns automatically from your DWG drawings with
HGEN 2006 More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist