|  Multi  | 
 Sets the elements which the dimension will witness. 
 Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
 Syntax
 Syntax  Parameters
- elementsToDimension ICollection ElementId
- The elements which the dimension will witness.
 Exceptions
 Exceptions  | Exception | Condition | 
|---|---|
| ArgumentException | some elements do not match the reference category required by the MultiReferenceAnnotationType. | 
| ArgumentNullException | A non-optional argument was null | 
| InvalidOperationException | The MultiReferenceAnnotationType assigned to the options can't create MultiReferenceAnnotations by element. | 
 Remarks
 Remarks   The dimension will automatically find geometric references in the elements. 
  See Also
 See Also