Opens an existing toolbar collection file.
rhinoscriptsyntax.OpenToolbarCollection(file)
rhinoscript.toolbar.OpenToolbarCollection(file)
file |
Required. String. The full path to the toolbar collection file to open. |
String |
The Rhino-assigned name of the toolbar collection if successful. |
None |
If not successful, or on error. |
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)