::hwat::utils::CreateContact

Creates a contact between the master and slave.

Syntax

::hwat::utils::CreateContact name template slaveassem masterassem type

Arguments

name
The name of the contact.
template
The template location.
slaveAssem
The HWAT assembly name of the slave.
masterAssem
The HWAT assembly name of the master. Master is not required for SingleSurface contact and should be sent as {}.
Default = ""
type
SINGLESURF, SURF2SURF, NODE2SURF (default = SINGLESURF).

Returns

Success
ID of the new contact
Failure
{}

Example

::hwat::utils::CreateContact "contact1" "D:/Altair/templates/feoutput/ls-dyna/dyna.key" "VEHICLE" "BARRIER" NODE2SURF