GetMaster

Introduced

3.0

Description

Returns the master of an instance.

Scripting Syntax

    GetMaster( InputObjs )

Parameters

Parameter | Type | Description
InputObjs | String | Find master of this Instance Default Value: Current selection

Return Value

Returns an XSICollection object that contains the master of the input instance.

Examples

VBScript Example

    dim master
    GetPrim "Cone", "MyCone"
    CreateModel "MyCone"
    Instantiate , , 1, 1, 0, 1
    set InstanceObj = GetInstances( "Model" )(0)
    set master = GetMaster( InstanceObj )
    LogMessage "MyCone's master: " & master
    InspectObj master

See Also

Instantiate | SIInstantiate | GetInstances

Autodesk Softimage v7.5