*createlist

Creates an ordered list of entities for use in a subsequent command.

Syntax

*createlist entity_type list_id entities

Type

HyperMesh Tcl Modify

Description

Creates an ordered list of entities for use in a subsequent command.

Inputs

entity_type
Entity type to put on the list. Valid values are elems, laminates, lines, nodes, plies and surfs.
list_id
The ID of the list to populate. Valid values are 1 and 2.
entities
The ID of the entities, in the appropriate order.

Examples

To create a line from nodes 2, 10, and 3:
*createlist nodes 1 2 10 3
*linecreatefromnodes 1 0 150 5 179

Errors

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