GetPresetModel

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

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

Return Value

Returns the new model (a Model object).

See Also

GetProportionalGuide



Autodesk Softimage v7.5