System Variable OSMODE
Mnemonic: Object Snap Mode
Sets permanent EntitySnaps so that you do not need to invoke entity snap options explicitly as you draw.
To set more than one EntitySnap mode, specify the sum of the following bit code values:
Bit Codes
| Bit Code | Description |
|---|---|
| 0 | None (Disables EntitySnap) |
| 1 | Endpoint |
| 2 | Midpoint |
| 4 | Center point of arcs and circles |
| 8 | Node (insertion point of text, blocks, attribute definitions, and anonymous blocks like dimensioning and hatching) |
| 16 | Quadrant of arcs and circles |
| 32 | Intersection point |
| 64 | Insertion point |
| 128 | Perpendicular to |
| 256 | Tangent to |
| 512 | Nearest point on entity |
| 1024 | Geometric Center |
| 2048 | Apparent intersection |
| 4096 | Extension |
| 8192 | Parallel |
| 16384 | Clears all entity snap settings |
For example, a value of:
- 33 activates Endpoint (bit code 1) and Intersection (bit code 32) EntitySnap modes.
- 37 (default) activates Endpoint, Center, and Intersection EntitySnap modes.
- 16383 activates all EntitySnap modes.
- 0 deactivates all EntitySnap modes.
Properties
| Status | Read / Write |
| Type | Integer |
| Default | 511 |
| Saved | In the user's profile file |