Revit 2025 API
Multi |
Verifies that all of the references belongs to elements which doesn't match the
reference category required by the MultiReferenceAnnotationType.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool ReferencesDontMatchReferenceCategory( IList<Reference> references )
Public Function ReferencesDontMatchReferenceCategory ( references As IList(Of Reference) ) As Boolean
public: bool ReferencesDontMatchReferenceCategory( IList<Reference^>^ references )
member ReferencesDontMatchReferenceCategory : references : IList<Reference> -> bool
Parameters
Return Value
BooleanReturns true if the element categories of all tested references do not match the element category required by the MultiReferenceAnnotationType.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also