Returns or sets the object snap mode. Object snaps are tools for specifying points on existing objects.
Rhino.OsnapMode ([intMode])
intMode |
Optional. Number. The object snap mode or modes to set. Object snap modes can be added together to set multiple modes.
|
Number |
If intMode is not specified, then the current object snap mode or modes if successful. |
Number |
If intMode is specified, then the previous object snap mode or modes if successful. |
Null |
If not successful, or on error. |
Const rhOsnapModeEnd = 128
Dim intMode
intMode = Rhino.OsnapMode
If Not (intMode & rhOsnapModeEnd) Then
intMode = intMode + rhOsnapModeEnd
Rhino.OsnapMode intMode
End If