*marktousermark
Store the entity IDs of the passed entity type on the user mark.
Syntax
*marktousermark entity_type mark_id
Type
HyperMesh Tcl Modify
Description
This command stores the IDs of entity_type that exist on mark_id on the user mark. Valid mark_ids are 1 and 2. Only one user mark exists for each entity_type.
The user mark is accessed either through the command hm_getusermark or through panel input collectors, *createmark and *appendmark via the "retrieve" option.
Example
To save the user mark of properties 1, 3 and 5:
*createmark props 1 "by id only" 1 3 5
*marktousermark props 1
To create a mark of elements 1-3, save it to the element user mark and retrieve it later:
hm_createmark elems 1 1 2 3
*marktousermark elems
*clearmark elems 1
…
*createmark elems 1 "retrieve"
Errors
if { [ catch {command_name...} ] } {
# Handle error
}