*addfacestocontactsurfusingfacenumber

Adds elements using the face number to a contact surface.

Syntax

*addfacestocontactsurfusingfacenumber name mark_id face_number reverse_normals

Type

HyperMesh Tcl Modify

Description

Adds elements using the face number to a contact surface.

Inputs

name
The name of the contact surface to update.
mark_id
The mark ID that contains the elements to add. Valid values are 1 and 2.
face_number
The face number of the element (starting from 0).
reverse_normals
0 - Create contact surface along element normal.
1 - Create contact surface opposite element normal.

Examples

To add elements 1 through 100 using face number 2 to contactsurf "test":

*createmark elems 1 1-100
*addfacestocontactsurfusingfacenumber "test" 1 1 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

11.0.101