hm_ce_getlinkinfo

Returns link info for a connector including entity type, IDs/names, locator rule and XYZs.

Syntax

hm_ce_getlinkinfo id index

Type

HyperMesh Tcl Query

Description

Returns link info for a connector including entity type, IDs/names, locator rule and XYZs.

Inputs

id
The ID of the connector to query.
index
The index of the link on the connector.

Example

To get link information for connector ID 1 for all links:

set ce_id 1
set num_ents [hm_ce_numlinkentities $ce_id]
for {set count 0} {$count <= $num_ents} {incr count} {
foreach {type info state rule} [hm_ce_getlinkinfo $ce_id $count] {
lappend linkArray($type) $info
}
}

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

10-SA1-120