hm_compareinputlistmark
Compares content of two entity marks.
Syntax
hm_compareinputlistmark entity_type input_mark1 input_mark2
Type
HyperMesh Tcl Query Command
Description
This command compares content of two entity marks. Returns 0 if marks are equal, 1 otherwise.
Inputs
- entity_type
- The entity type to compare.
- input_mark1
- The ID of the first mark to compare. Valid values are 1 and 2.
- input_mark2
- The ID of the first mark to compare. Valid values are 1 and 2.
Examples
To compare element mark 1 and
2:
set check [ hm_compareinputlistmark elems 1 2 ]
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
2025