Function Entry: OSNAP

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: OSNAP

Name

osnap

Class

Geometric / Host Function

Syntax

(osnap pt mode)

Arguments and Values

  • pt: point
  • mode: object-snap mode designator

Description

Returns the object-snap point for the given point and snap mode.

Return Values

Point list or nil.

Side Effects

None specified.

Compatibility

  • heavily host-dependent
  • Autodesk documents version changes
  • BricsCAD historically documented additional snap modes

Measured: the "qui" mode

probe-triage2, 2026-10-04: BricsCAD V25 returns the same point for (osnap pt "_qui,_end") as for (osnap pt "_end") (Windows job 16923993442) – it accepts the QUIck modifier. AutoCAD 2022's headless console returns nil for both (no view), so it cannot confirm the documented 2016 change ("qui" no longer valid: nil).

clautolisp

osnap is a headless stub returning nil for every mode.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.