SwitchToolbar.1.js Example

Applies To

SwitchToolbar command

Description

This example demonstrates how to use the SwitchToolbar command.

Code

/* 
	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 );

Keywords

SwitchToolbar


Autodesk Softimage 2011