2024 Method
Changes 0
M

MechanicalUtils.ConnectAirTerminalOnDuct

Description:
Connects an air terminal to a duct directly (without the need for a tee or takeoff).
Remarks:
The current location of the air terminal will be projected to the duct centerline, and if the point can be successfully projected, the air terminal will be placed on the most suitable face of the duct.
public static bool ConnectAirTerminalOnDuct(
	Document document,
	ElementId airTerminalId,
	ElementId ductCurveId
)
Return Value bool True if connection succeeds, false otherwise.