*morphlistupdate
Updates the morphing undo/redo list.
Syntax
*morphlistupdate mode start finish
Type
HyperMesh Tcl Modify Command
Description
This command will either clear or compress the morphs on the undo/redo list for the given range. If start and finish are both set to zero, the entire list will be affected. If a morph is cleared while still applied to the model, the morph will not be removed during clearing and thus will end up being permanently applied.
The API function hm_morph_getinfo will return the current value of the counter and the total number of morphs on the undo/redo list.
Inputs
- mode
- The type of update to perform. Valid values are:
- start
- Starting morph number (1 or higher).
- finish
- Finishing morph number (1 or higher).
Examples
*morphlistupdate 0 1 3
*morphlistupdate 1 1 3
Errors
if { [ catch {command_name...} ] } {
# Handle error
}