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.

AnalysisObjectEnumerator Class

The AnalysisObjectEnumerator class provides the means to iterate through analysis object instances.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Analysis
Assembly:  Tekla.Structures.Analysis (in Tekla.Structures.Analysis.dll) Version: 2020.0.0.0 (2020.0.55582.0)
public sealed class AnalysisObjectEnumerator : IEnumerator

The AnalysisObjectEnumerator type exposes the following members.

  Name Description
Public property Current
Gets the current analysis object in the enumerator.
Public property CurrentItem
Gets or sets the index of the current item.
Public property CurrentSelected
Gets or sets the currently selected item.
Public property SelectInstances
Gets or sets a value indicating whether the instance's Select() is called when the "Current" item is asked from the enumerator. The user can set this to "false" if no members are ever asked from the instance. This is the case when e.g. asking only a report property from this identifier. WARNING: normally the user should not change this value.
  Name Description
Public method GetEnumerator
Returns a pointer to the existing instance of the class. This allows the usage of the foreach statement with AnalysisObjectEnumerator.
Public method GetSize
Returns the total amout of items.
Public method MoveNext
Moves to the next item in the enumerator.
Public method Refresh
Refreshes the enumerator with latest data at database.
Public method Reset
Resets the enumerator to the beginning.
See Also