hm_getcardimageoptions
Returns information about certain options supported by a card image.
Syntax
hm_getcardimageoptions entity_type card_image option
Type
HyperMesh Tcl Query Command
Description
Returns information about certain options supported by a card image.
Inputs
- entity_type
 - The type of entity to query. Currently supported for props.
 - card_image
 - The name of the card image to query e.g. P1_SHELL. Only card images for the current template are supported.
 - option
 - The option value to query for the entity type. Valid values for props are: 
- material
 - Returns 1 if the entity allows a direct material assignment, 0 otherwise.
 - beamsection
 - Returns 1 if the entity allows a direct beamsect assignment, 0 otherwise.
 - beamsection_attrib
 - If beamsection option returns 1 this returns the attribute to use to assign the beamsection, 0 otherwise.
 - thickness
 - Returns 1 if the panel allows a direct material assignment, 0 otherwise.
 - thickness_attrib
 - If thickness option returns 1 this returns the attribute to use to assign the thickness value, 0 otherwise.
 
 
Examples
hm_getcardimageoptions props P1_SHELL material
0
hm_getcardimageoptions props P1_SHELL beamsection
0
hm_getcardimageoptions props P1_SHELL beamsection_attrib
0
hm_getcardimageoptions props P1_SHELL thickness
1
hm_getcardimageoptions props P1_SHELL thickness_attrib
431hm_getcardimageoptions props PBEAM material
1
hm_getcardimageoptions props PBEAM beamsection
1
hm_getcardimageoptions props PBEAM beamsection_attrib
3186
hm_getcardimageoptions props PSHELL thickness
0
hm_getcardimageoptions props PSHELL thickness_attrib
0Errors
if { [ catch {command_name...} ] } {
   # Handle error
}