@getincludereferenceflag()
Returns the referenced state of an include in the master file.
Syntax
@getincludereferenceflag (include_id, exception)
Type
HyperMesh Template Function
Description
Returns 1 if include_id is referenced into the master file, 0 otherwise.
Inputs
- include_id
- The ID of the include.
- exception
- 0 - The include file reference depends on its export status.
Example
*variableset(variable1,"[@getincludeidbyfilename($FileNameTran)]")
*if([ @getincludereferenceflag(variable1,1) == 1) ])
*string("*INCLUDE_PATH")
*end()
*field(string,[@inclstrsplit($FileNameTran,+)],72)
*end()
*endif()
Version History
14.0