AddModel method: AnalyticTypeDefn class

Syntax

AddModel(ModelName, ModelType)

Description

Use the AddModel method to add either an analytic model or optimization model to the analytic type definition. If the model doesn't exist, this method fails.

Parameters

Parameter Description

ModelName

Specify the name of an existing model.

ModelType

Specify the model type. Values are:

Value Description

%ModelType_ACE

The model is an Analytic Calculation Engine.

%ModelType_OPT

The model is an optimization.

Returns

The new AnalyticTypeModelDefn object.