Creates a new MultiReferenceAnnotation.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
Since:
2014
Syntax
Return Value
The new MultiReferenceAnnotation.
Remarks
Exceptions
Exception | Condition |
---|
Autodesk.Revit.Exceptions..::..ArgumentException |
document is not a project document.
-or-
The ElementId ownerViewId does not correspond to a View.
-or-
The ElementId ownerViewId is a view template.
-or-
The ElementId ownerViewId is a perspective view.
-or-
The 3D view ownerViewId is not locked.
-or-
dimension line direction and dimension plane normal are not orthogonal.
-or-
for DimensionStyleType LinearFixed dimensions the dimension line direction must be parallel to either the view's vertical or horizontal direction.
-or-
some references can't be used with a DimensionStyleType Linear dimension of this direction.
References must either appear as points in the view or be linear references which are
perpendicular to the dimension line.
-or-
some references can't be used with a DimensionStyleType LinearFixed dimension.
Only references which appear as points in the view can be used.
|
Autodesk.Revit.Exceptions..::..ArgumentNullException |
A non-optional argument was NULL
|
Autodesk.Revit.Exceptions..::..ModificationForbiddenException |
The document is in failure mode: an operation has failed,
and Revit requires the user to either cancel the operation
or fix the problem (usually by deleting certain elements).
-or-
The document is being loaded, or is in the midst of another
sensitive process.
|
Autodesk.Revit.Exceptions..::..ModificationOutsideTransactionException |
The document has no open transaction.
|
See Also