OpenToolbarCollection

Opens an existing toolbar collection file.

Syntax

rhinoscriptsyntax.OpenToolbarCollection(file)

rhinoscript.toolbar.OpenToolbarCollection(file)

Parameters

file

Required.  String.  The full path to the toolbar collection file to open.

Returns

String

The Rhino-assigned name of the toolbar collection if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

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

name = Rhino.IsToolbarCollection(file)

if name is None: rs.OpenToolbarCollection(file)

Also See

CloseToolbarCollection

IsToolbarCollection

ToolbarCollectionCount

ToolbarCollectionNames

ToolbarCollectionPath