Summary
The CP_JNE command allows users to connect the nearest ends of two selected entities such as lines, arcs, splines, or polylines by adding a connecting line. Additionally, it provides an option to merge all the segments into a single polyline, depending on the type of entities selected.
CADPower -> Build Tools -> General -> Join nearest ends of lines, polylines
Key features include:
- Nearest-End Connection: Automatically finds and connects the nearest ends of the selected entities with a new line segment.
- Optional Joining into a Polyline: After connecting, users can choose to merge all segments into a single polyline:
- Yes: Joins all segments into one polyline if they are of the same type (2D or 3D).
- No: Leaves the connected segments as individual entities.
- Entity Type Compatibility: Ensures that merging into a polyline is only performed when all selected entities are either 2D or 3D. Mixed 2D and 3D entities cannot be joined into a single polyline.
Workflow Example:
- Select First Object: Pick the first line, arc, spline, or polyline.
- Select Second Object: Pick the second entity to connect.
- Join All Segments Together? Choose Yes to merge into a single polyline or No to leave the entities separate.
The CP_JNE command is a valuable tool for CAD users needing to create seamless connections between entities, especially in workflows requiring alignment or continuity between design elements.