::hwat::utils::CheckEntityOutOfRange

Checks if the IDs of the entity in the assembly lie within the minimum and maximum range.

Syntax

::hwat::utils::CheckEntityOutOfRange str_entityType str_assmName n_minValue maximum

Arguments

str_entityType
The type of the entity.
str_assmName
Name of the component entity set
n_minValue
The minimum allowable value.
n_maxValue
The maximum allowable value.

Returns

Success
1 if entities are out of range, 0 if they are in range
Failure
{}

Example

::hwat::utils::CheckEntityOutOfRange nodes "Vehicle"  100 2500.

Comments

Should be run at time of import. Caller may offer end user the option to renumber, in which case this function may need to be called again.