v1.0
Switches to the specified toolbar menu on the Toolbar Panel. Toolbar menus
include the Model, Animate, Render, Simulate and Hair menus.
Note: If you want to switch between the panels (Toolbar Panel, Weight Paint Panel, etc.)
you need to use the OpenView command instead.
SwitchToolbar( Target ); |
Parameter | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Target | Integer |
Toolbar ID
|
/* This example opens the Weight Paint Panel, then the Toolbar Panel, then switches to the Simulate and then Hair menus on that panel. (It happens so fast that you can't really see it well in the UI, but you can run each line individually to see each result.) */ OpenView( "Weight Paint Panel" ); OpenView( "Toolbar Panel" ); SwitchToolbar( 4 ); SwitchToolbar( 5 ); |