*linecreatenormal2d

Create a line in a plane normal to geometry.

Syntax

*linecreatenormal2d line_id point_type point_id plane length ?mode?

Type

HyperMesh Tcl Modify

Description

This command creates a straight segment line of the specified length. The line lies on the specified plane, beginning closest to the specified input point, and normal to the specified line/surface edge.

Inputs

line_id
The ID of the reference line or surface edge.
point_type
Type of entity representing input point. Valid values are nodes or points.
point_id
The ID of the node or point to use as the reference starting location.
plane
ID of the temporary reference plane created using *createplane.
length
The length of the generated line.
?mode?(optional)
Indicates different modes. Bit values are used and the value is calculated as (Bit0 + 2*Bit1).
Bit0
0 – The normal direction is used, which is the default value.
1 – The direction opposite to the normal direction is used to create the segment.
Bit1
Specifies how entities are organized into components. Valid values are:
0 – Line is created in the current component, which is the default value.
1 – Line is created in the input line component.

Example

To create straight segment normal to line 5, starting closest to node 15, in the x-y plane with base node (0,0,0) with length 10:


*createplane 1 0 0 1 0 0 0
*linecreatenormal2d 5 nodes 15 1 10

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

10.0