AdjustEndLength Method


Fabrication Part Adjust End Length Method

Adjusts the length for the specified connector.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double AdjustEndLength(
	Connector connector,
	double lengthToAdjust,
	bool totalLengthOnly
)

Parameters

connector Connector
# The connector of the fabrication part to adjust length.
lengthToAdjust Double
The length to adjust.
totalLengthOnly Boolean
True if adjust the total length only when adjust length.

Return Value

Double
The adjusted length.
Exceptions
Exception Condition
ArgumentException The end of the fabrication part of the connector can not be adjusted. -or- Connector is connected.
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →