Returns the ViewSection id for the index of the ElevationMarker.
Namespace: Autodesk.Revit.DBAssembly: 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
ElementId
ViewSection 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.
|
See Also
Reference