CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 5480

CAD tip CAD tip # 5673:

Question CAD 
 %  platform  category 
Q - question


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).
100% *  CAD 
25.7.2007    103269×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
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?
Tip 6692:Simply create points or polyline from coordinates in Excel.

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   

Simply link AutoCAD LT blocks to Excel table data.
Excellink LT 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.