hm_entitymaxid
Returns the maximum internal ID in use for an entity type.
Syntax
hm_entitymaxid entity_type ?recalculate?
Type
HyperWorks Tcl Query Command
Description
Returns the maximum internal ID in use for an entity type.
Inputs
- entity_type
 - The type of entity to query.
 - recalculate
 - An optional argument, indicating whether the maximum internal ID should be recalculated due to deleted entities. Valid values are:
 
Example
To get the maximum internal ID for properties:
hm_entitymaxid props
    Errors
if { [ catch {command_name...} ] } {
   # Handle error
}