|
•
|
Primitive: covers the declaration types Scalar, Array 1D, and Array 2D with base types String, Boolean, Integer, and Double.
|
|
•
|
ChoiceList: a set of selectable options.
|
|
•
|
UnitSet: a set of physical units.
|
|
•
|
GraphicsData: graphical output data.
|


|
•
|
|
•
|
|
•
|
Query the size of the group: size()
|
|
•
|
Find the index of an entry by name: index(String name)
|
|
Returns the declaration object (Scalar, Array 1D, Array 2D, ChoiceList, or UnitSet) with the specified name.
|
||
|
Returns the list of all declaration groups under the Declarations node. Example: DeclarationGroupList groups = app.declaration().group();
|
||
|
Returns the declaration group with the specified name. Example: DeclarationGroup ints = app.declaration().group("integer1");
|
|
Gets a group by name. Example: DeclarationGroup g = groups.get("integer1");
|
||
|
Returns the names of all groups. Example: for (String n : groups.names()) { … }
|
||
|
Returns how many groups there are. Example: int count = groups.size();
|
||
|
Returns the position of a group (−1 if not found). Example: int idx = groups.index("integer1");
|
|
Returns the index of an entry (−1 if not found). For example, find the index of the "svar" declaration:
|
||
|
Returns the group’s data type (for example, "String" or "Array1DString"). For example, inspect the data type of the "integer1" group:
|
||
|
domain | boundary
|
|||
|
first | second
|
Point being picked in the twopoints line entry method.
|