SetTerminationPlaneNormal Method


Computation Data For 3DPath Set Set Termination Plane Normal Method

Sets the plane's normal in which the termination (e.g. hook, crank) at end of bar will stay.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void SetTerminationPlaneNormal(
	int end,
	XYZ terminationPlaneNormal
)

Parameters

end Int32
The end of bar. Should be 0 for start or 1 for end.
terminationPlaneNormal XYZ
The plane's normal in which the termination (e.g. hook, crank) at end of bar will stay. The normal should be perpendicular to the bar direction at the specified end of bar.
Exceptions
Exception Condition
ArgumentException Normal terminationPlaneNormal for end end isn't a valid normal for bar.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException Invalid end. -or- terminationPlaneNormal has zero length.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →