Summary
The CP_0LEN2PNT command is designed to convert all zero-length objects including lines, polylines and 3DFACEs into points. This transformation allows for easy identification and management of redundant entities that often arise from programming errors, improper imports from other CAD systems, or issues during 3DFACE processing for modeling.
CADPower -> Conversion -> More Conversion -> Convert 0 Lengths to POINTs
Key features include:
- Conversion of Zero-Length Objects: Effectively identifies and converts zero-length lines, polylines, and 3DFACEs into points, streamlining the drawing by removing non-contributing geometries.
- Elevation Calculation: The elevation of the newly created points is calculated as the average of all the vertices of the original zero-length objects, maintaining a reference point in 3D space.
- Layer Placement Options:
- Source: Places the converted points in the same layer as the original zero-length objects.
- Current: Places the points in the current active layer.
- Specify: Allows the user to select a specific layer for the points.
- Label Name Display: Displays the name of the selected layer for clarity.
- Select Dialog: A pop-up dialog box allows users to choose the desired layer easily.
- Deletion Option: Optionally delete the original zero-length objects after conversion to maintain a clean drawing environment.
- Tech Info: The points created will have new handles, but any extended entity data from the source objects will be transferred to the newly created points.
The CP_0LEN2PNT command is a practical tool for cleaning up CAD drawings by converting redundant zero-length objects into manageable points, thereby enhancing the overall integrity and usability of the design.