hm_tablecopy

Makes a copy of the HyperMesh table. Overwrites destination table.

Syntax

hm_tablecopy table1 table2

Type

HyperMesh Tcl Query Command

Description

Makes a copy of the HyperMesh table. Overwrites destination table.

Inputs

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

Example

# 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.