*surfacecreatedraglinealongvector
Create surface(s) by extruding line(s) along a vector.
Syntax
*surfacecreatedraglinealongvector mark_id vector distance options comp_mode
Type
HyperMesh Tcl Modify Command
Description
This command creates surface(s) by dragging line(s) along a vector. If the distance is negative, the opposite direction to vector is used for dragging.
Inputs
- mark_id
- The mark ID containing the lines that you wish to drag.
- vector
- Temporary vector ID defining the direction of the drag.
- distance
- The length of the drag. Negative values indicate opposite direction to the vector.
- options
- 0 - Do not merge input lines. A surface is created for each input line.
- comp_mode
- Parameter specifying how entities are organized into components:
Example
To create 3 surfaces by dragging the input lines 35, 27 and 29 along the x-axis 5 units, creating the surfaces in the current component:
*createmark lines 1 35 27 29
*createvector 1 1.0 0.0 0.0
*surfacecreatedraglinealongvector 1 1 5.0 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0