hm_tableintersection
Finds subset of entities common to two HyperMesh tables of the same entity type and places it into the first table.
Syntax
hm_tableintersection table1 table2
Type
HyperMesh Tcl Query Command
Description
Finds subset of entities common to two HyperMesh tables of the same entity type and places it into the first table.
Inputs
- table1
- First table.
- table2
- Second table.
Example
This command can be used to find entities common for two HyperMesh tables.
# Creating 2 tables
*createmark comp 1 1 2
hm_marktotable comp 1 t12
*createmark comp 1 2 3
hm_marktotable comp 1 t23
# Copying table
hm_tablecopy t12 tcom;
hm_tableintersection tcom t23;
# tcom contains comp 2 now
Errors
None.