CreateFromCenterline Method


Fabrication Part Route End Create From Centerline Method

Create fabrication routing end from centerline point on straight element.

Namespace: Autodesk.Revit.DB.Fabrication
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static FabricationPartRouteEnd CreateFromCenterline(
	Element element,
	XYZ ptAt
)

Parameters

element Element
The straight element that the centerline is on.
ptAt XYZ
A point along the straight element where the fitting to be cut in should be positioned.

Return Value

FabricationPartRouteEnd
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
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 →