OutletDetailSetFlowControlType Method

Sets the outlet flow control type and returns the corresponding flow control object.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public OutletDetailFlowControl SetFlowControlType(
	OutletDetailFlowControlType type
)

Parameters

type  OutletDetailFlowControlType
The desired flow control type.

Return Value

OutletDetailFlowControl
A non-null flow control object matching the specified type after this call. Cast the returned value to its concrete type to access type-specific properties: OutletDetailFlowControlFreeDischarge, OutletDetailFlowControlOrifice, or OutletDetailFlowControlWeir.
Remarks
- If the specified type is the same as the current type, the existing flow control is reused and returned. - If the specified type differs, a new flow control instance replaces the previous one and is returned.
See Also