API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

ModelViewEnumerator Class

The ModelViewEnumerator class is an enumerator class for model views. The enumerator enables model view items to be looped.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Model.UI
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2020.0.0.0 (2020.0.55582.0)
public sealed class ModelViewEnumerator : IEnumerator

The ModelViewEnumerator type exposes the following members.

  Name Description
Public property Count
Returns the number of views in the enumerator.
Public property Current
Returns the current view.
Public property CurrentViewId
Gets the current view identifier.
  Name Description
Public method MoveNext
Moves to the next view in the enumerator.
Public method Reset
Resets the enumerator.
See Also