@getinternalid()
This command, used in feoutput and summary templates, returns an internal ID based on the pool number and solver ID of an entity.
Syntax
@getinternalid (poolnumber, solverid)
Type
HyperMesh Template Function
Description
This command needs to be used in conjunction with the command @getentityvalue(), which returns the solver ID. You must know the pool number corresponding to an entity type of attribute.
Inputs
- poolnumber
- The pool number to which the entity belongs.
- solverId
- The ID of the solver that you use.
Example
@getinternalid( 22, 1)
Where 22 is pool number and 1 is solver ID.
*variableset(variable1,[@getentityvalue(components, id, $LSD_SID)])
*variableset(variable2, [@getinternalid(20, variable1)])
Where the value 20 is the pool number belonging to the entity type attribute $LSD_SID defined the dyna.key template and variable1 is solver ID of the attribute $LSD_SID. The variable2 will be the internal ID of the attribute $LSD_SID.