CreateModelAndCon vertToRef

Introduced

6.0

Description

Creates a new model with the selected object as children and converts to a reference.

Scripting Syntax

    CreateModelAndConvertToRef( [Objects], [FileName] )

Parameters

Parameter | Type | Description
Objects | String | What objects to include in the new reference model. Default Value: Current selection
FileName | String | The filename where to create the reference model. Default Value: A browser prompts the user to specify an output filename and path

Return Value

Nothing

Examples

JScript Example

    /*
       This example demonstrates how to create a referenced model using CreateModelAndConvertToRef
    */
    // Create a referenced model
    NewScene( null, false );
    var obj = CreatePrim( "Cube", "MeshSurface" );
    CreateModelAndConvertToRef();

See Also

ConvertToRefModel | MakeModelLocal

Autodesk Softimage v7.5