*morphmanageedgemark

Adds a morph volume edge, subtracts a morph volume edge, or clears all morph volume edges from a morph volume edge user mark.

Syntax

*morphmanageedgemark edge_id user_mark_id mode

Type

HyperMesh Tcl Modify

Description

This command allows you to add an edge, subtract an edge, or clear all edges from a specified morph volume edge user mark. Since morph volume edges are not treated as independent entities, marks containing edges can only be managed through an external command. For commands that require edge marks as input, this command must be used to place edges on the mark. The mark should be cleared before and after use to ensure proper operation.

Inputs

edge_id
The ID of morph volume edge to add/subtract. Ignored if mode is 3.
user_mark_id
The ID of the user mark to operate on. Valid values are 0-3.
mode
1 – Add edge to user mark
2 – Subtract edge from user mark
3 – Clear all edges from user mark

Examples

To add an edge to user mark 1:

*morphmanageedgemark 4 1 1

To clear user mark 2:

*morphmanageedgemark 0 2 3

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

10.0