*barelementorientbysystem

Orients bar elements along a given direction with respect to an input system.

Syntax

*barelementorientbysystem mark_id vector_id system_id

Type

HyperMesh Tcl Modify

Description

Orients bar elements along a given direction with respect to an input system.

Inputs

mark_id
The ID of the mark containing the elements to orient. Valid values are 1 and 2.
vector_id
The ID of the direction vector created using *createvector. Valid values are 1 and 2.
system_id
The ID of the local system For global system, set as 0.

Examples

Orient elements 1-4 along the x-direction with respect to local system 1:

*createmark elements 1 1-4
*createvector 1 1 0 0
*barelementorientbysystem 1 1 1

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

2019