hm_tablelookup

Search a table for an entity ID. The constant 1 is returned if the ID is found. Otherwise, 0 is returned.

Syntax

hm_tablelookup tableName id

Type

HyperMesh Tcl Query Command

Description

Search a table for an entity ID. The constant 1 is returned if the ID is found. Otherwise, 0 is returned.

Inputs

tableName
The name of the table.
id
The ID to search for.

Example

When the current model is deleted, or a new model is loaded, all tables are cleared. See hm_marktotable for a sample use of hm_tablelookup.

Errors

None.