Item (CommandCollection)

Description

Returns the Command corresponding to the specified index (0-based) or key.

C# Syntax

// get accessor
Command CommandCollection.get_Item( Object idx );

Parameters

Parameter

Type

Description

Key

Long or String

Index or name of the command to retrieve.

Note: This method expects the true command name (see SIObject.Name), not the Command.ScriptingName.

Note: Avoid using numerical indexes as they can change from computer to computer as users create custom commands.

See Also

Command

Application

XSIApplication.GetCommandByScriptingName

Examples

• See CommandCollection.Item.1.vbs



Autodesk Softimage 2011