*morphshapelinkedpush

Adds a shape and a multiplier to a list of shapes to be used by *morphshapelinkedapply.

Syntax

*morphshapelinkedpush shape_id mult

Type

HyperMesh Tcl Modify

Description

This command will add the specified shape to an internal list along with the multiplier for the shape which you wish to apply. The list may contain one or more shapes. Calling the command *morphshapelinkedapply will apply all the shapes on the list at their specified multiplier values. It will also apply any shapes linked to the applied shapes via desvar, deqatn, and dlink2 cards, such as those created during non-linear design variable generation. Calling *morphshapelinkedapply will clear the internal list of shapes and multipliers.

Inputs

shape_id
The ID of the shape to add.
mult
The multiplication factor for the shape.

Example

To mark shape ID 3 with multiplier of 0.5:

*morphshapelinkedpush 3 0.5

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

11.0