AddObjectArgument (ArgumentCollection)
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.
Scripting Syntax
ArgumentCollection.AddObjectArgument( Name )
C# Syntax
Argument ArgumentCollection.AddObjectArgument( String in_ArgumentName );Parameters
|
Parameter |
Type |
Description |
|
Name |
The name of the argument. |
See Also
|
|
|
Autodesk Softimage v7.5