Skip to Content

OSMODE2 System Variable — GstarCAD 2027

OSMODE2 System Variable

GstarCAD 2027 · System Variables

System Variables > O System Variables > OSMODE2

Function Description:

The OSMODE2 system variable needs to be used in conjunction with OSMODE as detailed in the table below.

Type Bitcode
Saved in Registry
Initial value 4

System Variable Value:

OSMODE Value OSMODE2 Value Description
4096 0 Close all snaps.
1 Only "Distance from Endpoint" snap is enabled.
2 Only "Divide" snap is enabled.
4 Only "Extension" snap is enabled.
≤7 To specify more than one running object snap, enter the sum of their values. For example, enter 7 (4+2+1) to specify that "Extension", "Divide", "Distance from Endpoint" snaps are enabled.

Other versions with matching text

2025 · 2026