Repository navigation
SETBYLAYERMODE System Variable
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Sets which properties SETBYLAYER resets to ByLayer.
| Type | Integer (bit code) |
| Saved in | Not saved |
| Default | 255 (all) |
| Since | 2026.37 |
| Value | Meaning |
|---|---|
| 1 | Color |
| 2 | Linetype |
| 4 | Lineweight |
| 8 | Material |
| 16 | Plot style |
| 32 | Also change ByBlock values to ByLayer |
| 64 | Also change objects inside blocks |
| 128 | Transparency |
Values add up. Accepted range: 0 to 255.
- The Settings option of
SETBYLAYERtoggles the property bits, and its two Yes/No questions set bits 32 and 64. - The value resets to 255 when the program starts again.
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