*setentitytypesupportedbyenggid
Sets the entity types which will be supported by an engineering ID.
Syntax
*setentitytypesupportedbyenggid string_array number_of_strings
Type
HyperMesh Tcl Modify Command
Description
Sets the entity types which will be supported by an engineering ID.
Inputs
- string_array
- The string array ID that contains the list of entity types. A value of ALL means all entity types. The string array is created using the *createstringarray command. This should always be set to 1.
- number_of_strings
- Integer indicating the size (number of strings) in the string array created using *createstringarray.
Example
To set all entity types to be supported by engineering ID:
*createstringarray 1 "ALL"
*setentitytypesupportedbyenggid 1 1
To set elements and components to be supported by engineering ID:
*createstringarray 2 "ELEMS" "COMPS"
*setentitytypesupportedbyenggid 1 2
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
2017.1