hm_ce_getprojcompid
Returns the component ID for the projection data layer of interest.
Syntax
hm_ce_getprojcompid index layer
Type
HyperMesh Tcl Query
Description
Returns the component ID for the projection data layer of interest.
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 component ID for index 5 and independent layer:
set comp_id [ hm_ce_getprojcompid 5 1];
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.
The component corresponds to the part the weld is connecting at that location.