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
The Model object can be accessed from the following locations:
- Properties
- SolutionConfiguration object has property Model.
- FormModelSelector object has property Value.
- Methods
- ModelCollection collection has method Items().
- ModelCollection collection has method Item(number).
- ModelCollection collection has method Item(string).
Property List
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
Collection Details
- Configurations
- The collection of solution configurations in the model.
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.