hm_convertmarktorange

Converts a mark to an ID range and returns the ID range list with comma separators.

Syntax

hm_convertmarktorange entity_type mark_id

Type

HyperMesh Tcl Query Command

Description

Converts a mark to an ID range and returns the ID range list with comma separators.

Inputs

entity_type
The entity type of the mark to convert.
mark_id
The ID of the mark to convert. Valid values are 1 and 2.

Examples

To return all nodes on mark 1 as an ID range:

*createmark nodes 1 all
hm_convertmarktorange 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

2019