hm_getunresolvedidcrossreferences

Returns entities that are referring to an unresolved ID.

Syntax

hm_getunresolvedidcrossreferences entity_type entity_id ?id_pool_id?

Type

HyperMesh Tcl Query Command

Description

Returns entities that are referring to an unresolved ID. The return value is a list of 3 values for each cross-referenced entity:

{entity_type id_pool_name ids}

For entities with ID pools the IDs returned are the solver IDs. Otherwise, the IDs are the internal IDs. If there is no ID pool for the specified entity type, "" will be returned for id_pool_id.

Inputs

entity_type
The type of entity to query.
entity_id
The ID of the entity to query.
?id_pool_id?
The ID of the ID pool to query. If specified, entity_id is taken as a solver ID. If not specified, entity_id is taken as an internal ID.

Example

To get the list of entity types cross-referencing material unresolved ID 100:

hm_getunresolvedidcrossreferences materials 100

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

14.0