Repository navigation
RENAME Command
github-actions[bot] edited this page Nov 15, 2026
·
2 revisions
Renames layers, blocks, text styles, dimension styles, linetypes, UCSs and views.
| Command | -RENAME |
| Aliases | REN |
| Web app | Available |
| Since | 0.1.3 |
- Run the command. The Rename dialog opens.
- Under Named Objects, choose the kind of name.
- Under Items, click the name to change. It appears in Old Name.
- Type the new name in Rename To and click Rename To, or click OK to rename and close.
-RENAME asks at the command line, which suits scripts:
-
Select the object type to rename:type Layer, Block, Text style (STYLE), Dim style (DIMSTYLE), Linetype, UCS or View. - Enter the current name.
- Enter the new name.
You can also give everything on one line: RENAME <type> <old> <new>, for example RENAME LAYER Old New.
- The dialog does not list names that cannot be renamed: layer
0andDefpoints,ByLayer,ByBlockandContinuous, layout and anonymous blocks, and names from external references. - If the rename is refused, the dialog stays open.
- The rename can be undone.
LAYER · BLOCK · DIMSTYLE · PURGE
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference