*altgapelementupdate

Updates property and orientation of node-to-node (CGAP) or node-to-element (CGAPG) gap elements.

Syntax

*altgapelementupdate mark property_name vectorid nodeid orient_x orient_y orient_z comps_flag systemid Update_Property Update_Vector

Type

HyperMesh Tcl Modify

Description

Updates property and orientation of node-to-node (CGAP) or node-to-element (CGAPG) gap elements.

Inputs

mark
The ID of the mark.
property_name
The name of the property to which the gap elements should point.
vectorid
The ID of the orientation vector associated with the gap elements.
nodeid
The ID of the orientation node associated with the gap elements.
orient_x
X component of the orientation vector.
orient_y
Y component of the orientation vector.
orient_z
Z component of the orientation vector.
comps_flag
Flag to indicate whether individual components are used in defining the orientation of the element.
0 - Components are not used.
1 - Components are used.
systemid
The ID of the coordinate system used to orient the gap element.
Update_Property
Flag to indicate whether or not to update the property.
0 - Do not update.
1 - Update.
Update_Vector
Flag to indicate whether or not to update the vector.
0 - Do not update.
1 - Update.

Examples

To update gap elements 25, 26 and 27 with property pgap1, using system with ID 15 as orientation system:

*createmark(elements,1) 25 26 27   *
altgapelementupdate(1,"pgap1",0,0,0,0,0,0,15,1,1)

Orientation of the gap element may be specified using either a vector, node, coordinate system or individual components.