XCLIP #
Overview #
The XCLIP command in DWGSeeCAD clips the display of selected external references (xrefs) or block references with a defined boundary. It controls which portion of the xref or block is visible, hiding geometry outside or inside the clipping boundary. The clipping boundary frame visibility is governed by the XCLIPFRAME system variable. This command does not alter the original source xref file, it only changes its display in the host drawing.
Command Prompt Workflow #
- Enter XCLIP on the command line and press Enter.
- Prompt: Select objects: Pick the external reference or block reference to clip, press Enter to confirm selection.
- Prompt: Enter clipping option [ON/OFF/Clipdepth/Delete/Generate polyline/New boundary] <New boundary>:
- ON: Enable clipping, only show the area inside the boundary.
- OFF: Disable clipping, restore full display of the xref or block.
- Clipdepth: Set front and back clipping planes for 3D depth culling.
- Delete: Remove the existing clipping boundary.
- Generate polyline: Create a polyline matching the shape of the current clip boundary.
- New boundary: Create a new clip boundary. You can select an existing closed polyline, draw a rectangular boundary, or draw a polygonal boundary. The Invert Clip option swaps the visible and hidden region.
- After boundary definition, only the retained section of the xref or block will display.
Usage Notes #
- XCLIP works for xrefs and blocks only; it cannot clip viewports, raster images or PDF underlays. Use VPCLIP for viewport clipping.
- The clipping boundary must be closed; open shapes cannot be used.
- Clipping is a display setting, it does not modify or delete the original geometry of the external reference file.
- To toggle the display of the clip boundary frame, adjust the XCLIPFRAME system variable.
- You cannot create a second clip boundary on one xref or block before removing the old clip boundary.
Application Scenarios #
Use XCLIP for large attached survey base maps, site plans, structural background drawings, and reference block libraries. It helps isolate the drawing region relevant to your current design, reduces visual clutter, and keeps the drawing file efficient without detaching the whole xref.