*linecreatedragnodealongvector
Create lines by dragging nodes or points along a direction.
Syntax
*linecreatedragnodealongvector entity_type mark_id vector distance
Type
HyperMesh Tcl Modify Command
Description
This command creates straight segment lines by dragging nodes or points a user specified distance along a vector.
Inputs
- entity_type
- Type of entities representing input points. Valid values are nodes or points.
- mark_id
- The mark ID containing the input points. Valid values are 1 and 2.
- vector
- ID of the temporary vector created using *createvector.
- distance
- The distance to drag the input points.
Example
To create 4 straight segments with endpoints at nodes 2, 4, 6 and 8, oriented parallel to the x-axis, with lengths of 1.5:
*createmark nodes 1 2 4 6 8
*createvector 1 1 0 0
*linecreatedragnodealongvector nodes 1 1 1.5
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