A.5.3. Iteration Node Type

An iteration node has the following required attributes:

name

specifies the name of the node. It has the same character restrictions as the name attribute of the node type. This will be displayed in the graph and the Elements tree. Same restrictions apply as for Node Type.

description

specifies a description of the node.

block

specifies the name of the block that will be executed while the iteration condition is satisfied. Blocks are identified by the name of their start node.

iterationExpression

used to specify the condition that must be satisfied for the iteration to continue. See Defining Expressions for syntax you can utilize in expressions.

The following XML code shows an example of an iteration node definition. In this sample listing, an iteration block is specified by the node named Get Pre processing Input and the iteration condition is satisfied while the mesh is not approved.

Example 8:  Iteration Node
<iteration-node name="Check Mesh Approval" description=""
      block="Get Pre-processing Input"
iterationExpression="isMeshApproved == false" />


Release 18.2 - © ANSYS, Inc. All rights reserved.