*createmarklast
Populates the mark with the entities used in the last command.
Syntax
*createmarklast entity_type mark_id
Type
HyperMesh Tcl Modify Command
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
*createmark lines 1 2471
*offset_surfaces_and_modify surfaces 1 0 1 -3 -0.5
*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
}