Command.UID
 
 
 

Command.UID

Description

Returns a String value containing the unique ID for the command (used with the CreateToolbarButton command).

Note: This property is read-only.

C# Syntax

// get accessor
String rtn = Command.UID;

Examples

VBScript Example

'This example creates a new toolbar 
'and puts a button on it that will
'launch the "Info Scene" dialog
uidToolbar = CreateToolbar( "My Toolbar" )
uidCmd = Commands("Info Scene").UID
CreateToolbarButton uidToolbar, uidCmd