Model

A model object containing simulated results.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/startup.fek]])

    -- Print the names of all the opened models

for modelCount = 1, app.Models.Count do
  print(app.Models[modelCount].Label)
end

Usage locations (object properties)

The following objects have properties using the Model object:

Property List

Label
The object label. (Read only string)
Launcher
The application process runner. (Read only Launcher)
Type
The object type string. (Read only string)

Collection List

Configurations
The collection of solution configurations in the model. (ConfigurationCollection of SolutionConfiguration.)

Method List

Delete ()
Deletes the model from the session. This also removes all 3DViews and traces associated with the model.
GetPath ()
Returns the path to the model. (Returns a string object.)
ReassociateModel (filename string)
Re associates this model with a different set of model files.

Property Details

Label
The object label.
Type
string
Access
Read only
Launcher
The application process runner.
Type
Launcher
Access
Read only
Type
The object type string.
Type
string
Access
Read only

Collection Details

Configurations
The collection of solution configurations in the model.
Type
ConfigurationCollection

Method Details

Delete ()
Deletes the model from the session. This also removes all 3DViews and traces associated with the model.
GetPath ()
Returns the path to the model.
Return
string
The path of the model.
ReassociateModel (filename string)
Re associates this model with a different set of model files.
Input Parameters
filename(string)
The name of the file to associate this model.