hm_getprojceid
Returns the ID of the connector from the FE weld data array for a given index.
Syntax
hm_getprojceid index
Type
HyperMesh Tcl Query Command
Description
Returns the ID of the connector from the FE weld data array for a given index. This command should only be used from within a connector-registered property script (which is executed during connector FE realization). The projection data this function relies upon is removed immediately after connector FE realization.
Inputs
- index
- The index of the weld in the FE weld data array.
Example
To get the connector ID for the 10th index in the weld data array:
set ce_id [hm_getprojceid 10];
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}