RVTDocs.com

CreateFromCenterline

Method
Description:
Create fabrication routing end from centreline point on straight element.
Syntax
public static FabricationPartRouteEnd CreateFromCenterline(
	Element element,
	XYZ ptAt
)
Parameters
Parameter Type Description
element Autodesk.Revit.DB.Element The straight element that the centerline is on.
ptAt Autodesk.Revit.DB.XYZ A point along the straight element where the fitting to be cut in should be positioned.
Return Value
Exceptions
Exception Condition
Autodesk.Revit.Exceptions.ArgumentNullException A non-optional argument was null