*createmarklast

Populates the mark with the entities used in the last command.

Syntax

*createmarklast entity_type mark_id

Type

HyperMesh Tcl Modify

Description

Populates the mark with the entities used in the last command.

Inputs

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

Examples

To determine the new ID of surface 100 after performing a surface offset:
*createmark surfaces 1 100
*surfmarkoffsetplusminus surfaces 1 0
*createmarklast surfaces 1
hm_getmark surfs 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}