::hwat::utils::CreateContact

Creates a contact between the main and secondary.

Syntax

::hwat::utils::CreateContact name template secondaryassem mainassem type

Arguments

name
The name of the contact.
template
The template location.
secondaryAssem
The HWAT assembly name of the secondary.
secondaryAssem
The HWAT assembly name of the main. Main is not required for SingleSurface contact and should be set 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