RebarFreeFormAccessor.CanBeHookNormal
Description:
A vector can be termination's (e.g. hook, crank) normal if for a bar specified by index, the bar direction is not parallel with the vector.
A vector can be termination's (e.g. hook, crank) normal if for a bar specified by index, the bar direction is not parallel with the vector.
[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarFreeFormAccessor.CanBeTerminationPlaneNormal instead.")]
public bool CanBeHookNormal(
int barIndex,
int end,
XYZ normal
)
-
Int32barIndexThe index of bar for which it will try to see if termination's plane normal is applicable.
-
Int32endThe end of bar. Should be 0 for start, 1 for end.
-
normalThe teriantion's (e.g. hook, crank) plane normal that will be tested.
Return Value
Boolean
A vector can be termination's (e.g. hook, crank) normal if for a bar specified by index, the bar direction is not parallel with the vector.
-
A non-optional argument was null
-
barIndex is not in the range [ 0, NumberOfBarPositions-1 ]. -or- Invalid end.