RVTDocs.com

Duct.IsDuctTypeId

Method
Description:
Checks if given type is valid duct type.
Remarks:
A type is valid for duct if it can be used to the duct element.
Syntax
public static bool IsDuctTypeId(
	Document document,
	ElementId ductTypeId
)
Parameters
Parameter Type Description
document Document The document.
ductTypeId ElementId ElementId of the duct type to check.
Return Value
Type Description
Boolean True if duct type can used for this duct, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null