Calculates the angle between a line and a plane.
Input Arguments
0 |
Collection Object Name |
Selected Line |
The line. |
1 |
Collection Object Name |
Selected Plane |
The plane. |
2 |
Double |
Nominal Angle |
A nominal angle (only used to determine if the tolerance is satisfied, if used). |
3 |
Double |
Angle Tolerance (0.0 for none) |
The allowable symmetrical tolerance for the angle, plus or minus from the nominal angle. |
Return Arguments
4 |
Double |
Angle |
The actual angle between the line and plane. |
Returned Status
SUCCESS |
The angle was calculated successfully, and the tolerance (if specified) was not exceeded. |
FAILURE |
The line/plane or both were not found, or the calculated angle exceeded the tolerance (if specified). |
Remarks
To use a tolerance, specify a number other than zero for argument 3. To ignore the tolerance, leave argument 3 at 0.0.