@getnewid()
Returns the next valid ID by checking IDs of other entities.
Syntax
@getnewid (entity_type, id, pool_id, entity_type_check, pool_id_check)
Type
HyperMesh Template Function
Description
This function returns the values of a triple cell in a table. This can be used both inside and outside of a *tables() block.
Inputs
- entity_type
- The type of the entity to query.
- entity_id
- The ID of the entity to query.
- pool_id
- The ID pool number to which the queried entity belongs, if any.
- entity_type_check
- The type of the entity to check for a conflict with.
- pool_id_check
- The ID pool number to which the conflict entity belongs, if any.
Example
*variableset(variable9,[@getnewid(CONTACTSURFS,id,0,SETS,40)])
Version History
14.0.110