GstarCAD 2027 · Command Reference
Commands > X Command > XCLIP
Function Description:
This command is used to clip a selected external reference or
block reference by clipping a specified boundary.
The clipping boundary determines the hidden part of a selected block reference or external reference. The visibility of
the clipping boundary is controlled by the XCLIPFRAME system variable.
Tip: Users can use the CLIP command to clip images, external references, viewports and reference underlays.
Command Access:
Icon:
Menu: Modify > Clip > Xref
Ribbon: /
Toolbar: Reference > Clip Xref
Command: XCLIP
Alias: XC
Shortcut: Select an external reference and right-click, and then select Clip Xref
Command Prompts:
Select object:
Enter clipping option
[ON/OFF/Clipdepth/Delete/generate Polyline/New boundary] \<New>:
Displays the clipped part of the block reference or external reference in the current drawing.

Displays the integrated geometry of the block reference or external reference in the current drawing and ignores the clipping boundary.

Specifies the front and back clipping planes for a block reference or external reference. It will not display objects outside of the defined region or the specified depth. The clip depth is applied on the plane that is parallel to the clipping boundary and has nothing with the current UCS.
Deletes a clipping boundary for the specified block reference or external reference. Users can use the OFF option to close the clipping boundary temporarily. The Delete option removes the clipping boundary and the clip depth. The ERASE command can not delete the clipping boundary.
Generates a polyline automatically. This polyline is overlapped with the clipping boundary. It is set by
the current layer, linetype, lineweight and color. Users can use the PEDIT command to edit
the clipping boundary and redefine it.
Users can observe the whole external reference by turning off
the clipping boundary when redefining the boundary.
Specifies a rectangular or polygonal clipping boundary, or generates a polygonal clipping boundary from a polyline.
Note: Users can create a new boundary for a specified external reference underlay only after removing the old boundary.
Related Concepts:
Related Tasks:
Article ID: 2919
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/xclip-command-gstarcad-2027-2919.html