*assignsystemfromcurveswithnormals

Assigns a system to an entity type based on curves with surface normal.

Syntax

*assignsystemfromcurveswithnormals entity_type mark_id geom_entity_type geom_mark_id ?<option1 >=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

Assigns a system to an entity type based on curves with surface normal. The axis of the system is then projected on the element/property plane. Reorients and visualizes the element (material) coordinate system for selected entities. When review is complete, the command *vectorsoff must be run. This command is currently supported for Abaqus, Nastran and OptiStruct.

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

Inputs

entity_type
The type of entity to update. Only solid elements and solid properties are supported.
mark_id
The ID of the mark containing the entity_type entities. Valid values are 1 and 2.
geom_entity_type
The type of entity from which the system will be referenced. Valid values are lines and nodes.
geom_mark_id
The ID of the mark containing the geom_entity_type entities. Valid values are 1 and 2.
color=<value>
The color of the vectors or lines. Valid values are 1-64.
flipnormal=<value>
0 - The line’s direction will not be flipped
1 - The line’s direction will be flipped
normalentityid=<value>
The ID of the entity considered for normal calculations.
normalentitytype=<value>
The type of entity considered for normal calculations. Only surfaces are supported.
onlyorient=<value>
0 - The new x-element directions are shown as continuous gradient lines starting and ending on free edges.
1 - The new x-element directions are displayed as vectors starting from the element centroid.
rebar=<value>
The rebar value for Abaqus.
size=<value>
If set to 0, the size will be determined automatically. Otherwise, this defines the size of the displayed vectors.
tableid=<value>
The ID of the distribution table. For Abaqus, the distribution table with this ID will be updated accordingly. For Nastran and OptiStruct, the valid value will be 0, i.e. a distribution table will be created internally which will be updated.

Examples

To project the axis of the line 100 on the element plane of all the elements and display the projection as color 7 with size 3, without flipping the direction, and with surface normal from surface 1:

*createmark elements 1 all
*createmark lines 2 100
*assignsystemfromcurveswithnormals elements 1 lines 2 size=3 color= 7 onlyorient=1 rebar=0 tableid=0 flipnormal=0 normalentitytype=SURFS normalsentityid=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