hm_ce_getlinkentities
Returns specific type of entities IDs that are added to a connector.
Syntax
hm_ce_getlinkentities ce_id ent_type
Type
HyperMesh Tcl Query Command
Description
Returns specific type of entities IDs that are added to a connector.
Inputs
- ce_id
- The ID of the connector.
- ent_type
- Specific entity type required.
Example
To get all the component IDs added to connector of ID 10:
*createmark connectors 1 "by comp" ce_component;
set ce_list [ hm_getmark connectors 1 ];
foreach ce_id $ce_list {
if { $ce_id == 10 } {
set comp_list [ hm_ce_getlinkentities $ce_id COMPONENTS ];
break;
}
}
The function will return a list with single or multiple entity IDs.
Errors
None.