IsToolbarDocked

Verifies that a visible toolbar group in a currently open toolbar collection is docked.

Syntax

rhinoscriptsyntax.IsToolbarDocked(name, toolbar_group)

rhinoscript.toolbar.IsToolbarDocked(name, toolbar_group)

Parameters

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.

Returns

Boolean

True or false indicating success or failure.

None

On error.

Example

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."

Also See

IsToolbar

IsToolbarVisible