hm_getmarkall

Returns a list of lists containing the populated entity type and entity IDs for the specified mark.

Syntax

hm_getmarkall mark_id

Type

HyperMesh Tcl Query

Description

Returns a list of lists containing the populated entity type and entity IDs for the specified mark. The first value in each returned list is the entity type, and the remaining values are the entity IDs of that type. For example, if mark 1 is populated with elements 1-5 and comps 101-105, the returned values would be:
{elems 1 2 3 4 5} {comps 101 102 103 104 105}

Inputs

mark_id
The ID of the mark to query. Valid values are 1 and 2.

Example

To find all of the entities on mark 1:

hm_getmarkall 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

11.0