Checks if given type is valid duct type.
Namespace: Autodesk.Revit.DB.MechanicalAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
 Syntax
Syntaxpublic static bool IsDuctTypeId(
	Document document,
	ElementId ductTypeId
)
Public Shared Function IsDuctTypeId ( 
	document As Document,
	ductTypeId As ElementId
) As Boolean
public:
static bool IsDuctTypeId(
	Document^ document, 
	ElementId^ ductTypeId
)
static member IsDuctTypeId : 
        document : Document * 
        ductTypeId : ElementId -> bool Parameters
- document  Document
- 
   The document.
- ductTypeId  ElementId
- 
   ElementId of the duct type to check.
Return Value
Boolean
   True if duct type can used for this duct, false otherwise.
 Exceptions
Exceptions Remarks
Remarks
   A type is valid for duct if it can be used to the duct element.
 See Also
See Also