*morphvolumereflect

Creates morph volumes by reflecting the selected morph volumes using reflective symmetries.

Syntax

*morphvolumereflect c_entity_type c_mark_id s_entity_type s_mark_id nauto

Type

HyperMesh Tcl Modify Command

Description

This command will create morph volumes by reflecting the morph volumes on the mark using the specified reflective symmetries (1-plane, 2-plane, 3-plane, cyclical). Optionally the nodes inside the reflected morph volumes can be automatically registered.

Inputs

c_entity_type
Must be set to hypercubes.
c_mark_id
The ID of the mark containing the hypercubes. Valid values are 1 and 2.
s_entity_type
Must be set to symmetries.
s_mark_id
The ID of the mark containing any symmetries. Valid values are 1 and 2.
nauto
0 - Do not register new nodes
1 - Register new nodes

Example

To reflect all morph volumes using a symmetry:

*createmark hypercubes 1 "all"
*createmark symmetries 1 4
*morphvolumereflect hypercubes 1 symmetrys 1 1

Errors

Incorrect usage of *morphvolumereflect results in a Tcl error. To detect errors, you can use the catch command:

if { [ catch {*morphvolumereflect hypercubes 1 symmetrys 1 1} ] } {
# Handle error
}

"Symmetrys must be reflective type (1, 2, 3-plane, or cyclical)." - occurs if all of the selected symmetries are not reflective type symmetries. If only some of them are non-reflective, those will be ignored.

Version History

10.0