Share

MultiReferenceAnnotation.AreElementsValidForMultiReferenceAnnotation Method

The method validates if the input elements match the element category id for the MultiReferenceAnnotationType.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public static bool AreElementsValidForMultiReferenceAnnotation(
	Document document,
	MultiReferenceAnnotationOptions options
)

Parameters

document  Document
The document for the multi-reference annotation.
options  MultiReferenceAnnotationOptions
The creation options for the new MultiReferenceAnnotation.

Return Value

Boolean
Returns true if the input elements match the element category id for the MultiReferenceAnnotationType, false otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?