hm_tableappend

Appends the contents of a HyperMesh table to another HyperMesh table of the same entity type. Creates a destination table if it does not exist.

Syntax

hm_tableappend table1 table2

Type

HyperMesh Tcl Query

Description

Appends the contents of a HyperMesh table to another HyperMesh table of the same entity type. Creates a destination table if it does not exist.

Inputs

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

Example

To combine the content of two HyperMesh tables:

# Creating 2 tables
*createmark comp 1 1
hm_marktotable comp 1 t1
*createmark comp 1 2
hm_marktotable comp 1 t2
# Appending t2 to t1
hm_tableappend t1 t2       
# T1 now contains comp 1 and 2.

Errors

None.