Sets the additional references which the dimension will witness.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void SetAdditionalReferencesToDimension(
IList<Reference> referencesToDimension
)
Parameters
- referencesToDimension IList<Reference>
-
The additional references which the dimension will witness.
Exceptions
| Exception | Condition |
|---|
| ArgumentException |
Some references come from elements which directly match the reference category required by the MultiReferenceAnnotationType. For
those elements please use SetElementsToDimension.
|
| ArgumentNullException |
A non-optional argument was null
|
Remarks
The additional references to dimension cannot come from the same category as the MultiReferenceAnnotationType's reference category.
See Also
Reference