AQWA Model

AQWA Model
This container holds Model data for an instance of AQWA.

Methods

Edit

Opens the AQWA editor to allow modification of AQWA Setup data or viewing of the AQWA Results.


Exit

Exits the AQWA editor.


GetModel

Get the DataReference for the Model data entity.

Return     DataReference for the Model data entity.
    Type     DataReference

SendCommand

Executes one or more JScript commands in the AQWA editor.

Required Arguments

Command    The command to execute in the AQWA editor.
    Type     string
Example

To execute some arbitrary command (in this case, causing a dialog box to appear) in the AQWA editor:

    model1.SendCommand(Command="WBScript.Out(\"My Text\",true);" ) 

If the AQWA editor is not open SendCommand will open it, run the command and then close it. Consider calling model1.Edit()to open the editor before using SendCommand if you do not want it to close.


Data Entities

AqwaModel

Model data entity.

Properties

AnalysisType

Entity Analysis Type setting.

Type     string
Read Only    Yes
AQDBDatabaseFilesWritten

Indicates if aqwa .aqdb database files have been written for this system.

Type     bool
Read Only    No
DisplayText

The general property that defines the user-visible name of an entity. This property is defined for all data entities but is used only in those entities that present a label in the user interface.

Type     string
Read Only    No
GeometrySelected

Specifies if this data entity has Geometry data available.

Type     bool
Read Only    No
PhysicsType

Entity Physics Type setting.

Type     string
Read Only    Yes
ProjectName

The system string identifier.

Type     string
Read Only    No
SolverType

Entity Solver Type setting.

Type     string
Read Only    Yes