*wadlines_createspheres
Creates sphere surfaces for testing the rear reference line of pedestrian impact.
Syntax
*wadlines_createspheres double_array number_of_doubles radius
Type
HyperMesh Tcl Modify Command
Description
Creates sphere surfaces for testing the rear reference line of pedestrian impact.
Inputs
- double_array
- The double array ID that contains the 3D coordinates of the center of each sphere. The double array is created using the *createdoublearray command. This should always be set to 1.
- number_of_doubles
- Integer indicating the size (number of doubles) in the double array created using *createdoublearray. This should be 3 times the number of spheres.
- radius
- The radius of each sphere.
Examples
To create 2 spheres with radius 82.5:
*createdoublearray 6 1431.92088 -727.229931 1025.94747 1430.19016 -722.93938 1025.89459
*wadlines_createspheres 1 6 82.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
2021