Returns the ViewSection id for the index of the ElevationMarker.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ElementId GetViewId( int index )
Parameters
- index Int32
- The index of the ElevationMarker for which a ViewSection id will be returned.
Return Value
ElementIdViewSection id of the view at the ElevationMarker index, invalid element id otherwise.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The index index is out of range for this ElevationMarker. |
