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 |
What objects to include in the new reference model. Default Value: Current selection |
|
|
FileName |
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
SOFTIMAGE|XSI v6.01