Previous Topic: MethodsNext Topic: CloseAll


Add

Creates or opens a model.

Syntax

object.Add modelName pathName

Parameters

object

An expression that evaluates to a Models object.

ModelName

A String that represents the long model name for the model

PathName

A String that represents the location for the model. If the model name is given without a directory location, the model is created in the modelPath directory.

Remarks

If a model exists at Pathname, the model is opened. Otherwise, a model is created and added to the Models collection.