Toggles a specific AcDbOsnapMode in an object snap bitmask.
If the mode is currently enabled, it will be disabled. If the mode is disabled, it will be enabled.
Current object snap mode bitmask
Object snap mode to toggle
Updated bitmask with the specified mode toggled
mask = acdbToggleOsnapMode(mask, AcDbOsnapMode.MidPoint) Copy
mask = acdbToggleOsnapMode(mask, AcDbOsnapMode.MidPoint)
Toggles a specific AcDbOsnapMode in an object snap bitmask.
If the mode is currently enabled, it will be disabled. If the mode is disabled, it will be enabled.