*topographypatternvaluesupdate

Updates the pattern grouping options for a topography design variable.

Syntax

*topographypatternvaluesupdate name anchornode firstgrid secondgrid beadtype ucyc cords numcords

Type

HyperMesh Tcl Modify

Description

Updates the pattern grouping options for a topography design variable.

Inputs

name
The name of the design variable.
anchornode
Bead anchor node
0 - If no anchor node exists or if coordinates are used for defining the anchor node.
firstgrid
Grid ID that determines the direction of the first vector.
0 - If the first vector does not exist or if coordinates are used for defining the first grid.
secondgrid
Grid ID that determines a second plane of symmetry.
0 - If there is no second plane of symmetry or if coordinates are used for defining the second grid.
beadtype
Bead type. This parameter is the same as the field that immediately follows PATRN on the DTPG card. For more information about this field, refer to the OptiStruct online help.
ucyc
Number of repetitions for cyclical symmetry.
0 - If there is no cyclic symmetry.
cords
An array containing the anchor, first and second node coordinates such that cord[0], cords[1], and cords[2] are the x, y, and z coordinates of the anchor node, respectively, and so on.
numcords
Number of coordinate values ( =9 always).

Examples

Using only node IDs:
*createdoublearray(9) 0 0 0 0 0 0 0 0 0
*topographypatternvaluesupdate("dv1",3,1,2,20,0,1,9)
Using coordinates for anchor node and IDs for the first and second grid:
*createdoublearray(9) 1.7 2.3 4.9 0 0 0 0 0 0
*topographypatternvaluesupdate("dv1",0,1,2,20,0,1,9)