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