Introduced
3.5
Description
Imports multiple models as referenced models from .emdl files. This allows you to import characters composed of multiple models, where the envelope is in a different model than the skeleton rig.
The models' file names are separated by commas. All referenced models are reconnected (for envelopes) to outside objects, if necessary. This is done once all models are loaded.
Note: This command is not accessible from the UI.
Scripting Syntax
ImportRefModels( FileName, [Parent], [ExternalCnxMappingTemplate] )
Parameters
|
Parameter |
Type |
Description |
|
FileName [in/out] |
File names of the model file to import, separated by commas. |
|
|
Parent |
Name of the object or model to use as the parent of the imported models. Default Value: "" (or "Scene_Root") |
|
|
ExternalCnxMappingTemplate |
This parameter contains a list of models separated by commas, which is used to resolve the objects that we try to reconnect at the end of the import of referenced models. Note: All imported models are automatically added at the begining of this parameter. |
Return Value
Returns the imported models as an XSICollection.
See Also
Examples
• See ImportRefModels.1.vbs
Autodesk Softimage 2011