# REFEDIT Command Line
[GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [R](%28R%29.md)
## Function Description:
> Select an external reference or block reference for editing
Command Entry:
> REFEDIT
Command Prompt:
> Select reference: Select an xref or block in the current drawing
>
> Select nesting level \[Ok/Next\] \<Next\>:
>
> **Ok**
>
> Accept the currently highlighted reference for in-place reference editing.
>
> Enter object selection method \[All/Nested\]\<All\>: Enter a, enter n, or press ENTER*.*
>
> If you enter a*,* all the objects in the selected reference will be automatically included in the reference editing session. If you enter n, after you close the Reference Edit Dialog Box and enter the reference edit state, you are prompted to select the specific objects in the reference that you want to edit.
>
> Select nested objects: Select objects within the reference that you want to edit
>
> Display attribute definitions \[Yes/No\] \<No\>: Enter y, enter n, or press ENTER when editing a block reference
>
> Use REFCLOSE or the Refedit toolbar to end reference editing session.
>
> If you are editing a block reference with attributes, you can enter *y* to display the attribute definitions and make them available for editing. The attributes are made invisible, and the attribute definitions are available for editing along with the selected reference geometry. When changes are saved back to the block reference, the attributes of the original reference remain unchanged. The new or altered attribute definitions affect only subsequent insertions of the block; the attributes in existing block instances are not affected.
>
> **Next**
>
> Advance through the reference and nested references available for selection. The currently selected reference is highlighted.
## Other versions with matching text
[GstarCAD 2011](../../../2011/Commands/R/REFEDIT%20Command%20Line.md)