OSMODE2 System Variable

GstarCAD 2026 → System Variables → O

Function Description:

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

TypeBitcode
Saved inRegistry
Initial value4

System Variable Value:

OSMODE ValueOSMODE2 ValueDescription
40960Close all snaps.
1Only "Distance from Endpoint" snap is enabled.
2Only "Divide" snap is enabled.
4Only "Extension" snap is enabled.
≤7To 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.

Original help · © Gstarsoft Co., Ltd.