HyperWorks Tools

::hwat::utils::CheckEntityOutOfRange

::hwat::utils::CheckEntityOutOfRange

Previous topic Next topic No expanding text in this topic  

::hwat::utils::CheckEntityOutOfRange

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::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

1 if entities are out of range, 0 if they are in range, and {} if unsuccessful.

 

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.

 

See also

Utils Functions