Shows or hides Rhino's dockable object snap bar.
rhinoscriptsyntax.OsnapDialog( visible=None )
rhinoscript.application.OsnapDialog( visible=None )
visible |
Optional. Boolean. The new visibility state, either True or False. |
Boolean |
If visible is not specified, then the current visibility state if successful. |
Boolean |
If visible is specified, then the previous visibility state if successful. |
import rhinoscriptsyntax as rs
if not rs.OsnapDialog(): rs.OsnapDialog(True)