Sets the additional references which the dimension will witness.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2020
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- referencesToDimension
- Type: System.Collections.Generic IList Reference
The additional references which the dimension will witness.
Remarks
The additional references to dimension cannot come from the same category as the MultiReferenceAnnotationType's reference category.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | Some references come from elements which directly match the reference category required by the MultiReferenceAnnotationType. For those elements please use SetElementsToDimension. |
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |