*removeelemsfromcontactsurf

Removes elements from a contactsurf.

Syntax

*removeelemsfromcontactsurf name elem_mark_id

Type

HyperMesh Tcl Modify

Description

Removes elements from a contactsurf. If all elements are removed the empty contactsurf still exists.

Inputs

name
The name of the contactsurf.
elem_mark_id
The ID of the mark containing the elements to remove. Valid values are 1 and 2.

Example

To remove elements 100 and 101 from the contactsurf "test":

*createmark elems 1 100 101
*removeelemsfromcontactsurf  "test" 1

Errors

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