*clearunusedunresolvedids

Audits the list of unresolved ID references and discards any which are no longer needed.

Syntax

*clearunusedunresolvedids entity_type

Type

HyperMesh Tcl Modify

Description

Audits the list of unresolved ID references and discards any which are no longer needed.

Suppose you have a property that refers to a material with ID=17, but that material is not presently defined in the database. HyperMesh will preserve that slot in the database as an unresolved ID, so that you won’t accidentally overwrite it and corrupt that reference. If, in the future, you import a solver deck file that includes a definition for that material, the property will automatically now refer to it, resolving the reference.

Instead, if you delete the property, and no other entity in the database refers to that material, then HyperMesh doesn’t need to preserve a slot for some future material with ID=17. It continues to preserve the slot, on the assumption that material will eventually be defined for the model you are working on.

Inputs

entity_type
The type of entity to update the unresolved ID list for.

Examples

To discard unresolved material IDs, that are no longer required by any entity currently defined in the model:
*clearunusedunresolvedids materials

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