*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.
- Bit1
- Specifies how entities are organized into components. Valid values are:
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
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0