AQWA Setup

AQWA Setup
This container holds Setup 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.


GetSetup

Get the DataReference for the Setup data entity.

Return     DataReference for the Setup 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

AqwaSetup

Setup data entity.

Properties

AnalysisType

Entity Analysis Type setting.

Type     string
Read Only    Yes
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
PhysicsType

Entity Physics Type setting.

Type     string
Read Only    Yes
SolverType

Entity Solver Type setting.

Type     string
Read Only    Yes
StaticOnly

Used to control if Hydrodynamic Diffraction analysis solve is full or hydrostatic only when run from Workbench. If True then only Hydrostatics are solved.

Type     bool
Read Only    No