Repository navigation
CHPROP Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Changes the layer, colour, linetype, linetype scale or transparency of selected objects at the command line.
| Command | CHPROP |
| Web app | Available |
| Since | 0.1.0 |
- Select the objects, or run
CHPROPand select them, then press Enter. - At "CHPROP property [Layer / Color / Linetype / LtScale / Transparency]:", type a property.
- Type the new value and press Enter. The command reports how many objects were updated.
| Option | What it does |
|---|---|
Layer (LAYER) |
Moves the objects to the layer you name. |
Color (COLOR) |
Sets the colour as a colour number: 1–255, 256 for ByLayer, 0 for ByBlock. |
Linetype (LINETYPE) |
Sets the linetype you name. |
LtScale (LTSCALE) |
Sets the linetype scale of the objects. |
Transparency (TRANSPARENCY) |
Sets the transparency, from 0 to 90 percent. |
You can give the property and value on one line, for example CHPROP COLOR 1 or CHPROP LAYER Walls. This works on the objects that are selected and suits scripts.
- Objects on locked layers are not changed.
- An invalid value, such as a colour name at the Color prompt, prints an error and changes nothing.
- The change can be undone with
UNDO.
PROPERTIES · MATCHPROP · SETBYLAYER
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