*linecreatestraight
Create a straight segment curve from coordinates.
Syntax
*linecreatestraight x1 y1 z1 x2 y2 z2
Type
HyperMesh Tcl Modify Command
Description
This command creates a straight segment line between the given input end point coordinates. The distance between the input points must be not smaller than the global value of the geometry cleanup tolerance set by *setoption cleanup_tolerance.
Inputs
- x1 y1 z1
- Coordinates of segment start point.
- x2 y2 z2
- Coordinates of segment end point.
Example
To create straight segment with endpoints (1, 2, 3) and (4, 5, 6):
*linecreatestraight 1 2 3 4 5 6
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