Verifies that a visible toolbar group in a currently open toolbar collection is docked.
rhinoscriptsyntax.IsToolbarDocked(name, toolbar_group)
rhinoscript.toolbar.IsToolbarDocked(name, toolbar_group)
name |
Required. String. The name of a currently open toolbar collection. |
toolbar_group |
Required. String. The name of a toolbar group in the collection to verify. |
Boolean |
True or false indicating success or failure. |
None |
On error. |
import rhinoscriptsyntax as rs
rc = rs.IsToolbarDocked("Default", "Main1")
if rc==True:
print "The Main1 toolbar is docked."
elif rc==False:
print "The Main1 toolbar is not docked."
else:
print "The Main1 toolbar is not visible."