A vector can be termination (e.g. hook, crank) plane normal if for a bar specified by index, the bar direction is not parallel with the vector.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public bool CanBeTerminationPlaneNormal(
int barIndex,
int end,
XYZ normal
)
Parameters
- barIndex Int32
-
The index of bar for which it will try to see if termination plane normal is applicable.
- end Int32
-
The end of bar. Should be 0 for start, 1 for end.
- normal XYZ
-
The termination's plane normal that will be tested.
Return Value
Boolean
A vector can be termination (e.g. hook, crank) plane normal if for a bar specified by index, the bar direction is not parallel with the vector.
Exceptions
Remarks
This method does not take into account the rotation of the bar relative to its default position along the distribution path.
See Also
Reference