GetReference
Method
Description:
Returns an individual repeating reference given by coordinates in the array, or if there is no reference at the coordinates (for example if there is a hole in a divided surface.)
Returns an individual repeating reference given by coordinates in the array, or if there is no reference at the coordinates (for example if there is a hole in a divided surface.)
Remarks:
The coordinates must be within the bounds of the repeating reference source.
The coordinates must be within the bounds of the repeating reference source.
Parameters
| Parameter | Type | Description |
|---|---|---|
| coordinates | Autodesk.Revit.DB.RepeaterCoordinates | The coordinates in the array of repeating references. |
Return Value
| Type | Description |
|---|---|
| Autodesk.Revit.Exceptions.ArgumentException | The repeating reference. |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions.ArgumentException | The coordinates are not valid for the repeating reference source. This could be because of a mismatched dimensionality or because the coordinates are outside the bounds of the repeating reference source. |
| Autodesk.Revit.Exceptions.ArgumentNullException | A non-optional argument was null |
| Autodesk.Revit.Exceptions.InvalidOperationException | The repeating reference source is no longer valid. |