GetPresetModel

Categories

primitive

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

oReturn = GetPresetModel( ModelName, Name, [Parent], [PsetName] );

Return Value

Returns the new model (a Model object).

Parameters

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: ""

See Also

GetProportionalGuide