*system

Creates and updates coordinate systems.

Syntax

*system entity_type ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?

Type

HyperMesh Tcl Modify

Description

Creates and updates coordinate systems.

<option>=<value> options can be provided in any order.

Inputs

entity_type
The type of input entity. Must be set to nodes.
axisname=<value>
The name of the axis to define. This is required. Valid values are:
x-axis
y-axis
z-axis
axisnode=<value>
The axis node ID. This is required if coordinate values axisx, axisy and axisz are not given.
axisx=<value>
The axis x coordinate value. This is required if axisnode is not given.
axisy=<value>
The axis y coordinate value. This is required if axisnode is not given.
axisz=<value>
The axis z coordinate value. This is required if axisnode is not given.
NodeMark=<value>
The ID of the mark containing origin nodes at which to create systems. This is required if originx, originy and originz or originnode are not given.
planename=<value>
The name of the plane to define. This is required. Valid values are:
xy-plane
xz-plane
originnode=<value>
The origin node ID. This is required if originx, originy and originz or NodeMark are not given.
originx=<value>
The origin x coordinate value. This is required if originnode and NodeMark are not given.
originy=<value>
The origin y coordinate value. This is required if originnode and NodeMark are not given.
originz=<value>
The origin z coordinate value. This is required if originnode and NodeMark are not given.
planenode=<value>
The plane node ID. This is required if planex, planey and planez are not given.
planex=<value>
The plane x direction coordinate value. This is required if planenode is not given.
planey=<value>
The plane y direction coordinate value. This is required if planenode is not given.
planez=<value>
The plane z direction coordinate value. This is required if planenode is not given.
system=<value>
The system ID to be edited.
type=<value>
The type of system to create. This is required. Valid values are:
0 - Rectangular
1 - Cylindrical
2 - Spherical

Examples

To create a new rectangular system:

*system nodes type=0 originx=0.01 originy=0.2 originz=0.3 axisname=z-axis axisx=0.3 axisy=0.4  axisz=0.2  planename=xz-plane  planex=0.4  planey=0.6 planez=0.7

To update a system:

*system nodes type=RECTANGULAR originx=0.01 originy=0.2 originz=0.3

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