*morphsaveshape

Reads local shapes stored in the specified file.

Syntax

*morphsaveshape stype smark savefile filetype

Type

HyperMesh Tcl Modify

Description

Reads local shapes stored in the specified file.

Inputs

stype
Shapes
smark
Mark number of shapes.
savefile
Name of file to be saved.
filetype
0 - Grid IDs and perturbations
1 - Grids, elements, and perturbations

Example

*morphsaveshape (SHAPES,1,"morphing.shp",1)

Saves the shapes on the mark as either nodes and perturbations (filetype=0), or as nodes, node perturbations, and elements (filetype 1).

Shapes saved as filetype =0 will be saved in the same format as OptiStruct shape variables.

Shapes saved as filetype =1 can later be read in and applied to a file with a completely different mesh with the saved shapes being applied to the nearest nodes in the new model. The saved shapes can also be read in as their original elements and perturbations (see *morphloadshape).

Errors

None.