*wadlines_createlines
Creates multiple wadlines.
Syntax
*wadlines_createlines integer_array number_of_integers double_array number_of_doubles line_type
Type
HyperMesh Tcl Modify Command
Description
Creates multiple wadlines.
Inputs
- number_of_integers
- The number of integers in integer_array.
- integer_array
- The ID of the integer array that contains the number of vertices for each polyline. The integer array must be created using the *createarray command. This should always be set to 1.
- double_array
- The ID of the double array that contains the 3D coordinates of the vertices for each polyline. The double array must be created using the *createdoublearray command. This should always be set to 1.
- number_of_integers
- The number of doubles in double_array. This should be equal to 3 times the number of vertices.
- line_type
- 0 - Standard line
Examples
Create 2 wadlines, one with 4 vertices and the other with 3:
*createarray 2 4 3
*createdoublearray 21 0.0 0.0 0.0 1.0 1.0 1.1 2.0 2.0 2.0 0.0 3.0 3.0 0.0 3.0 3.0 4.0 0.0 4.0 5.0 5.0 0.0
*wadlines_createlines 1 2 1 21 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2020