hm_tabledifference

Finds the difference of two HyperMesh tables of the same entity type (subtracts the contents of the second table from the first table) and places the result in the first table.

Syntax

hm_tabledifference table1 table2

Type

HyperMesh Tcl Query Command

Description

Finds the difference of two HyperMesh tables of the same entity type (subtracts the contents of the second table from the first table) and places the result in the first table.

Inputs

table1
First table.
table2
Second table.
TCL_OK(0) if successful. TCL_ERROR(1) otherwise

Example

This command can be used to find entities unique for a table:

# Creating 2 tables
*createmark comp 1 1 2
hm_marktotable comp 1 t12
*createmark comp 1 2
hm_marktotable comp 1 t2
hm_tabledifference t12 t2;  
# T12 contains only comp 1 now

Errors

None.