Skip to Main Content
Autodesk
Status For Review
Product InfoWorks ICM
Categories API / Exchange
Created by Oscar Holemans
Created on Mar 13, 2026

Ability to access sim results for multiple networks

If I run a ruby script using the UI when I have a simulation results object in focus, I can access the network using net = WSApplication.current_network, a row object using ro = net.row_object, and the results and gauge results for the object using ro.gauge_results. This is because the network is a WSOpenNetwork object.

If however I obtain a reference to a network with results using the Exchange not in the UI, e.g., via net = db.model_object_from_type_and_id, this returns a WSSimObject, which I have no way to turn into a WSOpenNetwork object and therefore access the results in ruby.

There should be the ability to call net.open or similar to "open" a WSSimObject object and allow access to the underlying results and gauge results.

  • Attach files