RVTDocs.com

AnalyticalLink.IsValidHub

Method
Description:
Checks whether input hub is valid for an AnalyticalLink.
Syntax
public static bool IsValidHub(
	Document doc,
	ElementId hubId
)
Parameters
Parameter Type Description
doc Document Hubs's document.
hubId ElementId Hub to test for validity.
Return Value
Type Description
Boolean True is returned when provided hubId points hub that is valid for AnalyticalLink, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null