Error viewing time history graphs in HAMMER: Index was out of range. Must be non-negative and less than the size of the collection.

Product(s): HAMMER
Version(s): CONNECT Edition, v8i
Area: Output and Reporting

Problem

When trying to view a Time History graph in the Transient Results Viewer in HAMMER, the following error message is generate:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
at Steema.TeeChart.CustomAxes.get_Item(Int32 index)
at Steema.TeeChart.Import.Imports.DeserializeFrom(SerializationInfo info, StreamingContext context)
at Steema.TeeChart.Chart..ctor(SerializationInfo info, StreamingContext context)

Solution

The issue may be related to either a corruption in the .WTG file or within a graph stored in the model. Since graphs themselves are not often used in HAMMER, aside from if you need to view initial conditions EPS results, you can try removing any saved graphs from the model to see if that helps. 

If that doesn't help, try importing the database file into a new drawing. You can do this by going to File > Import > HAMMER database. Browse to where the model is saved and select the database file associated with the model. 

  • Created by Bentley Colleague
  • When:
  • Revisions: 1
  • Comments: 0
Recommended
Related