*morphshapepreview

Applies (with a multiplier of one) or unapplies selected shapes.

Syntax

*morphshapepreview entity_type mark_id mode

Type

HyperMesh Tcl Modify

Description

Applies (with a multiplier of one) or unapplies selected shapes.

Inputs

entity_type
Must be set to shapes.
mark_id
The ID of the mark containing the shapes. Valid values are 1 and 2.
mode
0 - Unsets the preview flag and unapplies the shape for shapes which have their preview flag set
1 - Sets the preview flag and applies the shape for shapes which have their preview flag unset
2 - Toggles the preview flags and applies or unapplies the shapes be set to shapes

Examples

To set the preview flag for three shapes and apply them to the model:

*createmark shapes 1 11 12 13
*morphshapepreview shapes 1 1

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

2019