## ArgumentCollection.AddObjectArgument

### Description

Adds an Argument to the Command definition that receives a Softimage object as its value when the Command is invoked. Because the argument uses the siArgHandlerSingleObj ArgumentHandler it automatically handles conversion of strings that represent objects in the scene.
To receive an XSICollection containing multiple objects, use ArgumentCollection.AddWithHandler with siArgHandlerCollection, or siArgHandlerMarkedParameters.

### C# Syntax

    Argument ArgumentCollection.AddObjectArgument( String in_ArgumentName );

### Scripting Syntax

    ArgumentCollection.AddObjectArgument( Name );

### Parameters

Parameter | Type | Description
--- | --- | ---
Name | String | The name of the argument.

### See Also

XSIApplication.CreateCommand Command ArgumentCollection Argument ArgumentHandler Dictionary.GetObject