*linescreatemidline
Creates a line that approximates the middle path between two roughly parallel, roughly planar, lines.
Syntax
*linescreatemidline linelist1 trimnodelist1 linelist2 trimnodelist2
Type
HyperMesh Tcl Modify
Description
Creates a line that approximates the middle path between two roughly parallel, roughly planar, lines.
Inputs
- linelist1
- The ID of a list of lines forming one side of the path.
- trimnodelist1
- The ID of a list of 0 or 2 nodes that mark the endpoints to use to trim the lines in linelist1.
- linelist2
- The ID of a list of lines forming the other side of the path.
- trimnodelist2
- The ID of a list of 0 or 2 nodes that mark the endpoints to use to trim the lines in linelist2.
Example
The four *createlist() directives are required for this command.
To create a midline between lines 22 and 23:
*createlist(lines,1) 22
*createlist(nodes,1)
*createlist(lines,2) 23
*createlist(nodes,2)
*linescreatemidline(1,1,2,2)
Errors
None.