hm_isentitydatanameparameterized
Determines if a specific data name or attribute is parameterized.
Syntax
hm_isentitydatanameparameterized entity_type id data_name_or_attribute ?row_index? ?column_index?
Type
HyperMesh Tcl Query
Description
Determines if a specific data name or attribute is parameterized. A return value of 0 means it is not parameterized. A return value of 1 means it is parameterized.
Inputs
- entity_type
- The type of entity to query.
- id
- The ID of the entity to query.
- data_name_or_attribute
- The data name or template attribute name/ID to query.
- row_index (optional)
- Row index for a 1D or 2D array. For a 1D array, it checks the parameterization at the specified row index. For a 2D array, it will check for the entire row.
- column_index (optional)
- Column index for a 2D array. Used together with row_index, it checks the parameterization at the specified row_index and column_index.
Example
To check the parameterization of attribute with name LSD_DA1 for entity set 5:
hm_isentitydatanameparameterized sets 5 LSD_DA1
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0