*clearlist

Clears the specified list.

Syntax

*clearlist entity_type list_id

Type

HyperMesh Tcl Modify

Description

This command clears the specified list.

Inputs

entity_type
The type of entity on the list.
list_id
The ID of the list to clear. Valid values are 1 and 2.

Examples

To clear the elements on list 1 before creating a new list:
*clearlist elems 1
*createlist elems 1 3 4 5 6

Errors

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