Repository navigation
CECOLOR System Variable
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Sets the color that new objects get.
| Type | String |
| Saved in | Drawing |
| Default | ByLayer |
| Since | 0.7.0 |
| Value | Meaning |
|---|---|
| ByLayer | New objects take the color of their layer. |
| ByBlock | New objects take the color of the block they are inserted with. |
| 1-255 | A color index. |
| red, yellow, green, cyan, blue, magenta, white | Color names for indexes 1 to 7. |
- Type
CECOLORorCOLORto be asked for a new color. TypeCECOLORwith a value (for exampleCECOLOR 1) to set it at once. - Pressing Enter without a value reports the current color.
- The color control on the ribbon shows and sets the same value.
COLOR · CLAYER · CELTYPE · CETRANSPARENCY
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