*hf_createdoubleattachedparams

Creates the base point for the symmetry plane, the n1/n2 node of the given line and the part of this line between n1/n2 needed for the double attached feature.

Syntax

*hf_createdoubleattachedparams line_mark nodes_mark gap x_sym y_sym z_sym x_draw y_draw z_draw creation_flag

Type

HyperMesh Tcl Modify

Description

This command creates the base point for the symmetry plane, the n1/n2 node of the given line and the part of this line between n1/n2 needed for the double attached feature.

Inputs

line_mark
The mark ID containing the single input line. Valid values are 1 and 2.
nodes_mark
The mark ID containing the input nodes. Valid values are 1 and 2. The node mark must contain 0, 1 or 2 nodes. If it contains 0 or 1 node it will create n1/n2 from line. If it contains 2 nodes it will try to use them, but if they are not properly chosen, it will create n1/n2 from line.
gap
The minimum distance between the original and reflected part.
x_sym
The x-coordinate of the symmetry direction.
y_sym
The y-coordinate of the symmetry direction.
z_sym
The z-coordinate of the symmetry direction.
x_draw
The x-coordinate of the stamping direction.
y_draw
The y-coordinate of the stamping direction.
z_draw
The z-coordinate of the stamping direction.
creation_flag
0 - Create base point.
1 - Create n1/n2 and the line between.

Example

To get the base point from line 1 and nodes 100 and 101, using a gap of 0.5, a symmetry of 1, 0, 0, and a draw direction of 0, 1, 0:
*createmark lines 1 1
*createmark nodes 1 100 101
*hf_createdoubleattachedparams 1 1 0.5 1 0 0 0 1 0 0

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

12.0