Description
Creates a model from the DSPreset directory and opens a control panel associated with the model. This is mainly a UI command.
Scripting Syntax
GetPresetModel( ModelName, Name, [Parent], [PsetName] )
Parameters
|
Parameter |
Type |
Description |
|
ModelName |
One of the Model Presets |
|
|
Name |
Name to give to the model once loaded in the scene. |
|
|
Parent |
Name of an existing object to use as the parent of the new primitive. Default Value: "" |
|
|
PsetName |
Name of a pset for which we want to open the ppg (optional, usually a custom control panel) Default Value: "" |
Return Value
Returns the new model (a Model object).
See Also
SOFTIMAGE|XSI v6.01