v6.0
RefModel
Creates a new model with the selected object as children and converts to a reference.
oReturn = CreateModelAndConvertToRef( [Objects], [FileName] ); |
Nothing
| 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 |
/*
This example demonstrates how to create a referenced model using CreateModelAndConvertToRef
*/
// Create a referenced model
NewScene( null, false );
var obj = CreatePrim( "Cube", "MeshSurface" );
CreateModelAndConvertToRef();
|