GstarCAD 2027 · Command Reference
Commands > B Command > BLOCKTOXREF
Function Description:
This command is used to replace all instances of a specified block with an xref. BLOCKTOXREF searches the entire drawing for references to a specified block name and replaces them with an xref that you specify. You can use this tool to unbind an xref, replacing the block with the original referenced drawing. Afterwards, you can use the PURGE command to remove the unreferenced block definition from the drawing.
Command Access:
Icon:
Menu: Express > Blocks > Convert Block to Xref
Ribbon: /
Toolbar: /
Command: BLOCKTOXREF
Alias: /
Command Prompts: /
Operation Steps:

3. The command line will prompt as shown below.

Related Tasks:
Article ID: 4134
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/blocktoxref-command-gstarcad-2027-4134.html