hm_ce_checklinkentities

Returns the names or IDs of entities added to the connector that currently do not exist in the database.

Syntax

hm_ce_checklinkentities id entity_type return_type

Type

HyperMesh Tcl Query Command

Description

Returns the names or IDs of entities added to the connector that currently do not exist in the database.

If any entities of a certain type are not present in the database, those are not returned. If all entities of a certain type are not present, an empty list is returned.

Inputs

id
The ID of the connector to query.
entity_type
The type of entity to check. Valid values are assems, comps, elems, nodes, surfs and tags.
return_type
0 - Return the entity IDs
1 - Return the entity names (supported only for assems, comps and tags)

Example

To check if components added to connector ID 1 exist:

hm_ce_checklinkentities 1 comps 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}