hm_ce_getprojnodeid
Returns the node ID for the projection data layer of interest.
Syntax
hm_ce_getprojnodeid index layer
Type
HyperMesh Tcl Query
Description
This command returns the node ID for the projection data layer of interest. The node corresponds to the part the weld is connecting at that location.
This function should only be called 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 interest in the array (corresponds to a weld).
- layer
- The independent (1) or the dependent (0) layer the weld connects.
Example
To get the projection node ID for index 5 and independent layer (1):
set num_of_projs [hm_ce_getnumoffeprojinfo];
set layer 1;
foreach index $num_of_projs {
if {$index == 5} {
set node_id [hm_ce_getprojnodeid $index $layer];
break;
}
}
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0