Checks whether a specific AcDbOsnapMode is enabled in the bitmask.
Object snap mode bitmask
Object snap mode to test
true if the mode is enabled; otherwise false
true
false
if (acdbHasOsnapMode(mask, AcDbOsnapMode.EndPoint)) { // EndPoint snapping is enabled} Copy
if (acdbHasOsnapMode(mask, AcDbOsnapMode.EndPoint)) { // EndPoint snapping is enabled}
Checks whether a specific AcDbOsnapMode is enabled in the bitmask.