GetDataValueBool Method

DTL Auto

GetDataValueBool Method

Returns a boolean value from the recipe specification.

See Also | Example

Signature

RetVal = object.GetDataValueBool(ItemName, ParameterName)

object

AecDtlRecipe The object this method applies to.

ItemName

String; input-only
The name of the XML data item tag.

ParameterName

String; input-only
The name of the XML parameter item tag (can be empty).

RetVal

Boolean
The value of the XML element.

Remarks

In the following example, the ItemName is "boundary" and the ParameterName is "Chamfer".

  <Data>
    <Item idStr="boundary">
      <Params>
        <Chamfer>0.5</Chamfer>
      </Params>
    </Item>
  </Data>