RebarFreeFormAccessorSetHookPlaneNormalForBarIdx Method |
Set the normal of plane in which the hook at end of bar with index barPositionIndex will stay. Will throw exception if the rebar has valid constraints.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic void SetHookPlaneNormalForBarIdx(
int end,
int barPositionIndex,
XYZ hookNormal
)
Public Sub SetHookPlaneNormalForBarIdx (
end As Integer,
barPositionIndex As Integer,
hookNormal As XYZ
)
public:
void SetHookPlaneNormalForBarIdx(
int end,
int barPositionIndex,
XYZ^ hookNormal
)
member SetHookPlaneNormalForBarIdx :
end : int *
barPositionIndex : int *
hookNormal : XYZ -> unit
Parameters
- end Int32
-
The end of bar. Should be 0 for start or 1 for end.
- barPositionIndex Int32
-
An index between 0 and (NumberOfBarPositions-1).
- hookNormal XYZ
-
The normal of plane in which the hook at end of bar with index barPositionIndex will stay.
The normal should be perpendicular to the bar direction at the specified end of bar.
Exceptions
See Also