*assignsystem_fromcurves

Assigns a system to an entity type based on lines/nodes.

Syntax

*assignsystem_fromcurves entity_type mark_id geom_entity_type geom_mark_id size color only_orient rebar table_id reverse_flag

Type

HyperMesh Tcl Modify

Description

Assigns a system to an entity type based on lines. The axis of the system is then projected on the element/property plane. It also re-orients 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 OptiStructsolvers.

Inputs

entity_type
The type of entity to update. Only elements and properties are supported.
mark_id
The ID of the mark containing the entities. Valid values are 1 and 2.
geom_entity_type
The type of entity from which the system will be referenced. Only nodes and lines are supported.
geom_mark_id
The ID of the mark containing the geometry entities. Valid values are 1 and 2.
size
If only_orient is 1, this defines the size of the displayed vectors. If 0, size will be determined automatically.
color
The color of the vectors or lines. Valid values are 1 through 64.
only_orient
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
This is valid only for Abaqus user profile.
table_id
The ID of the distribution table. For Abaqus, the distribution table with this table ID will be updated accordingly. For Nastran and OptiStruct, the only valid value is 0 and a distribution table is created and updated internally.
reverse_flag
0 - The line’s direction will not be flipped.
1 - The line’s direction will be flipped.

Examples

To project the axis of the line 210 on the element plane of all the elements, and display the projection as cyan vectors (color 7) with size = 3, without flipping the direction:

*createmark elements 1 all
*createmark lines 2 210
*assignsystem_fromcurves elements 1 lines 2 3 7 1 0 0 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

14.0