*createjointelement_twonoded

Creates a two-noded joint element.

Syntax

*createjointelement_twonoded type node1 node2 orientation o_node1 o_node2 o_system1 o_system2 property

Type

HyperMesh Tcl Modify Command

Description

Creates a two-noded joint element.

Inputs

type
Element type to create. Valid values are 1 and 25 through 33.
node1
The ID of the first node.
node2
The ID of the second node.
orientation
A flag indicating how the orientation of the element is defined. Valid values are:
  • 0 - None.
  • 1 - Systems.
  • 2 - Nodes.
o_node1
The ID of the first orientation node. Ignore, if orientation is not 2.
o_node2
The ID of the second orientation node. Ignore, if orientation is not 1.
o_system1
The ID of the first orientation system. Ignore, if orientation is not 2.
o_system2
The ID of the second orientation system. Ignore, if orientation is not 1.
property
The ID of the property to assign to the element.

Examples

To create a two-noded joint element of type 25, using nodes 62 and 2, with systems 454 and 465 used for orientation, with no property:
*createjointelement_twonoded 25 62 2 1 0 0 454 465 ""

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}