Check whether the type of fitting in this section is main.
Namespace: Autodesk.Revit.DB.MechanicalAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic bool IsMain(
ElementId fittingId
)
Public Function IsMain (
fittingId As ElementId
) As Boolean
public:
bool IsMain(
ElementId^ fittingId
)
member IsMain :
fittingId : ElementId -> bool
Parameters
- fittingId ElementId
-
The element id which can be duct fitting and pipe fitting.
Return Value
Boolean
True if the type of fitting in this section is main
False if the type of fitting in this section is branch
Exceptions
See Also