Repository navigation
OSMODE System Variable
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Sets the running object snap modes, one bit for each mode.
| Type | Integer (bit-coded) |
| Saved in | Program settings |
| Default | 63 (Endpoint, Midpoint, Center, Node, Quadrant and Intersection) |
| Since | 0.7.0 |
Add up the values of the snap modes you want on.
| Value | Meaning |
|---|---|
| 0 | No running object snaps. |
| 1 | Endpoint |
| 2 | Midpoint |
| 4 | Center |
| 8 | Node |
| 16 | Quadrant |
| 32 | Intersection |
| 64 | Insertion |
| 128 | Perpendicular |
| 256 | Tangent |
| 512 | Nearest |
| 1024 | Geometric center |
| 2048 | Apparent intersection |
| 4096 | Extension |
| 8192 | Parallel |
| 16384 | Object snap is turned off; the modes are kept. |
-
OSNAP, the F3 key and the status bar set the same value. - The snap set belongs to you, not to the drawing, so it is kept in the program settings. It is also written to the drawing when you save.
- When an older file or a DXF file stores a value other than 0, that value is used when the file is opened.
- Grid snap and the 3D object snaps are not part of this value.
OSNAP · APERTURE · OSNAPZ · ORTHOMODE
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