Creates the first MultiReferenceAnnotationType element and adds it to the document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static MultiReferenceAnnotationType CreateDefault( Document document )
Parameters
- document Document
- The document to be modified.
Return Value
MultiReferenceAnnotationTypeThe new MultiReferenceAnnotationType element.
Exceptions
Exception | Condition |
---|---|
ArgumentException | document is not a project document. -or- There are existing MultiReferenceAnnotationTypes in the document. |
ArgumentNullException | A non-optional argument was null |