RVTDocs.com

MEPSection.IsMain

Method
Description:
Check whether the type of fitting in this section is main.
Syntax
public bool IsMain(
	ElementId fittingId
)
Parameters
Parameter Type Description
fittingId ElementId The element id which can be duct fitting and pipe fitting.
Return Value
Type Description
Boolean True if the type of fitting in this section is main False if the type of fitting in this section is branch
Exceptions
Exception Condition
ArgumentException The ElementId fittingId does not correspond to a valid section fitting member.
ArgumentNullException A non-optional argument was null