HideToolbar

Hides a previously visible toolbar in a currently open toolbar collection.

Syntax

rhinoscriptsyntax.HideToolbar(name, toolbar)

rhinoscript.toolbar.HideToolbar(name, toolbar)

Parameters

name

Required.  String.  The name of a currently open toolbar collection.

toolbar

Required.  String.  The name of a toolbar in the collection to hide.

Returns

Boolean

True or false indicating success or failure.

None

On error.

Example

import rhinoscriptsyntax as rs

file = "C:\\SteveBaer\\AppData\\Roaming\\McNeel\\Rhinoceros\\5.0\\UI\\default.rui"

name = rs.IsToolbarCollection(file)

if names: rs.HideToolbar(name, "Layer")

Also See

IsToolbar

IsToolbarVisible

ShowToolbar

ToolbarCount

ToolbarNames