hm_formnodelistsfrommark
Forms ordered node lists from a mark of nodes.
Syntax
hm_formnodelistsfrommark entity_type mark_id ?error_mark_id? ?use_edge_topo?
Type
HyperMesh Tcl Query Command
Description
Forms ordered node lists from a mark of nodes.
The return consists of a list-of-lists, with each sub-list being an ordered node list.
Inputs
- entity_type
- Must be set to nodes.
- mark_id
- The ID of the mark containing the input nodes. Valid values are 1 and 2.
- ?error_mark_id?
- The ID of the mark to use for storing any nodes which cannot be formed into a list. Valid values are 0 (default, do not store), 1 and 2.
- ?use_edge_topo?
- 0 - Do not use the edge selection from the last call to *createmarkpanel for nodes.
Example
To form node lists from nodes selected by the user via *createmarkpanel:
*createmarkpanel nodes 1 "Select nodes to form lists"
hm_formnodelistsfrommark nodes 1
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
14.0.120