*createlistpanel
Provides a panel to create an ordered list of entities for use in a subsequent command.
Syntax
*createlistpanel entity_type list_id message
Type
HyperMesh Tcl Modify
Description
Provides a panel to create an ordered list of entities for use in a subsequent command.
Inputs
- entity_type
- The type of entities to put on the list. Valid values are:
- elems
- laminates
- lines
- nodes
- plies
- surfs
- list_id
- The ID of the list to populate. Valid values are 1 and 2.
- message
- A string indicating a message to display in the message bar.
Examples
*createlistpanel nodes 1 "Select nodes for the line:"
set node_list [ hm_getlist nodes 1 ];
if { ! [ Null node_list ] } {
*linecreatefromnodes 1 0 150 5 179
}
Errors
if { [ catch {command_name...} ] } {
# Handle error
}