RebarFreeFormAccessorSetTerminationPlaneNormalForBarIndex Method |
Sets the plane's normal in which the termination (e.g. hook, crank) 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: 26.0.4.0 (26.0.4.0)
Syntaxpublic void SetTerminationPlaneNormalForBarIndex(
int end,
int barPositionIndex,
XYZ terminationPlaneNormal
)
Public Sub SetTerminationPlaneNormalForBarIndex (
end As Integer,
barPositionIndex As Integer,
terminationPlaneNormal As XYZ
)
public:
void SetTerminationPlaneNormalForBarIndex(
int end,
int barPositionIndex,
XYZ^ terminationPlaneNormal
)
member SetTerminationPlaneNormalForBarIndex :
end : int *
barPositionIndex : int *
terminationPlaneNormal : 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).
- terminationPlaneNormal XYZ
-
The plane's normal in which the termination (e.g. hook, crank) 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
Remarks This method does not take into account the rotation of the bar relative to its default position along the distribution path.
See Also