• Preparing search index...
  • The search index is not available
RealDWG-Web
  • RealDWG-Web
  • @mlightcad/data-model
  • acdbHasOsnapMode

Function acdbHasOsnapMode

  • acdbHasOsnapMode(mask: number, mode: AcDbOsnapMode): boolean
  • Checks whether a specific AcDbOsnapMode is enabled in the bitmask.

    Parameters

    • mask: number

      Object snap mode bitmask

    • mode: AcDbOsnapMode

      Object snap mode to test

    Returns boolean

    true if the mode is enabled; otherwise false

    Example

    if (acdbHasOsnapMode(mask, AcDbOsnapMode.EndPoint)) {
    // EndPoint snapping is enabled
    }
    • Defined in packages/data-model/src/misc/AcDbOsnapMode.ts:155

Settings

Member Visibility
RealDWG-Web
  • Loading...

Generated using TypeDoc