CloseToolbarCollection

Closes a currently open toolbar collection.

Syntax

Rhino.CloseToolbarCollection (strName [, blnPrompt])

Parameters

strName

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

blnPrompt

Optional.  Boolean.  If True,  then the user will be prompted to save the collection file if it has been modified prior to closing.  If False, then the collection file is closed without saving.  The default value is False.

Returns

Boolean

True or False indicating success or failure.

Null

On error.

Example

Dim arrNames, strName

arrNames = Rhino.ToolbarCollectionNames

If IsArray(arrNames) Then

For Each strName in arrNames

Rhino.CloseToolbarCollection strName, True

Next

End If

Also See

IsToolbarCollection

OpenToolbarCollection

ToolbarCollectionCount

ToolbarCollectionNames

ToolbarCollectionPath