hm_getunresolvedids

Returns the unresolved IDs for a specific entity type.

Syntax

hm_getunresolvedids entity_type ?id_pool_id?

Type

HyperMesh Tcl Query

Description

Returns the unresolved IDs for a specific entity type and optional ID pool. The values are returned as a list per ID pool:

{id_pool_id1 solver_ids1...} {id_pool_id2 solver_ids2...} ... {id_pool_idN solver_idsN...}

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.
?id_pool_id?
The ID of the ID pool to query. If empty, all ID pools are considered.

Examples

To get the list of entity types with unresolved IDs, and to query the IDs:

foreach entity_type [hm_getunresolvedidcrossreferences] {
set ids($entity_type) [hm_getunresolvedids $entity_type]
}

To get the list of entity types with unresolved IDs, and to query the IDs for pool 1 only:

foreach entity_type [hm_getunresolvedidcrossreferences] {
set ids($entity_type) [hm_getunresolvedids $entity_type 1]
}

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