Editing blocks and external references

The REFEDIT command (short for "reference editor") edits block references and externally-referenced drawings (Xrefs) through a dialog box. What REFEDIT does is referred to as in-place reference editing. The command either works on a portion of the reference or on the entire drawing or all entities in the block.

The -REFEDIT command edits block references and externally-referenced drawings through the Command line.

The REFSET command adds and removes entities from the reference being edited.

The REFCLOSE command closes the reference editor.

The BEDIT command edits the entities that make up blocks in a temporary drawing session called the Block Editor, which uses the local coordinate system of the block.

The -BEDIT command prompts for a block name at the Command line, and then opens the Block Editor environment.

The XFADECTL system variable sets the fading level for the entities which are not in the working in the current refedit session. Values between 0 (no fading) and 90 are accepted.

To edit Xrefs

  1. Do one of the following:
    • Double click the Xref.
    • Click the Refedit tool button () on the Refedit toolbar.
    • Launch the REFEDIT command.

    You are prompted: Select reference:

    Click the Xref or block.

    The Reference Edit dialog box appears.

    The dialog box helps you to visually identify the reference to edit and controls how the reference is selected.

    • Path: Location of the selected reference; if the reference is a block, no path is displayed.
    • Reference Name: The name of the currently selected reference and any references, that are nested within the selected reference.
    • Preview: Displays the reference as it was last saved in the drawing. Please note that the preview image is not updated when changes are saved back to the reference.
  2. (option) If multiple nested references are displayed in the Reference name tree, select a reference to modify.

    Click the expand/collapse button to show/hide nested references.

    You can edit only one reference a time.

  3. Choose one of the following to Select nested entities ... :
    • Automatically: All the entities and nested blocks in the selected reference are included in the reference editing session.
    • Prompt: After you close the Reference Edit dialog, you are prompted to select the entities and nested blocks in the reference that you want to edit. Only these entities will be temporarily extracted and be made available for modification within the context of the current drawing.

    This temporary working set of entities can be edited and then saved back to update the reference being edited. To distinguish 'current drawing' from 'editing set', BricsCAD displays all of the entities belonging to the current drawing as faded. The fading level is controlled through the XFADECTL settings variable, which has a default value of 50.

  4. Check the Settings:
    • Enable unique layer and symbol names:
      • If selected, named objects in Xrefs are altered, adding a $#$ prefix.
      • If cleared, the names of layers and other named objects remain the same as in the reference drawing.
    • Display attribute definitions for editing: Controls whether attribute definitions in blocks are extracted and displayed during reference editing.
    • Lock entities not in working set: Entities in the reference being edited that are not included in the temporary working set cannot be manipulated, nor can entities in the host drawing or other Xrefs. This behavior is similar to objects on locked layers.
  5. Click the OK button to start editing the working set.

    The Reference Edit dialog closes.

  6. (option) Click the Add to Refedit tool button () to add entities to the working set.

    The selected entities will be removed from the host drawing and added to the reference being edited when the working set is saved back.

  7. (option) Click the Remove from Refedit tool button () to remove entities from the working set.

    The selected entities will be removed from the reference being edited when the working set is saved back. These entities are added to the host drawing.

  8. Do one of the following:
    • Click the Refclose and Save button () to save the changes back to the Xref source drawing or the block definition in the current drawing.
    • Click the Refclose and discard button () to stop the refedit session without saving. The source drawing or block definition is left unchanged.