Note: This API is now obsolete.
[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarFreeFormAccessor.SetTerminationPlaneNormalForBarIndex instead.")]
public void SetHookPlaneNormalForBarIdx(
int end,
int barPositionIndex,
XYZ terminationPlaneNormal
)| Exception | Condition |
|---|---|
| ArgumentException | Normal terminationPlaneNormal for end end isn't a valid normal for bar with index barPositionIndex |
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ]. -or- Invalid end. -or- terminationPlaneNormal has zero length. |
| InvalidOperationException | This RebarFreeFormAccessor Rebar is constrained. |