GetInstances

Introduced

3.0

Description

Returns a list of instances for a master.

Scripting Syntax

    GetInstances( InputObjs )

Parameters

Parameter | Type | Description
InputObjs | String | Model to find instances of. Default Value: Current selection

Return Value

Returns an XSICollection object that contains the list of instances.

Examples

VBScript Example

    dim instList
    GetPrim "Cone", "MyCone"
    CreateModel "MyCone"
    Instantiate , , 1, 1, 0, 1
    set instList = GetInstances( "Model" )
    LogMessage "Instance list: " & instList
    InspectObj instList

See Also

Instantiate | SIInstantiate | GetMaster

Autodesk Softimage v7.5