Model.hm_getloadplotstate#

Model.hm_getloadplotstate()#

Queries the current load plot state.

Returns:

  • hwReturnStatus - Status object

  • HmQueryResult - Result object containing the output values:

    • loadPlotState (int) - Possible returned values are:

      0 - No plot

      1 - Vector plot

      2 - Interactive scalar plot

      3 - Static scalar plot

Example#

Find the current load plot state#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getloadplotstate()

print("loadPlotState", result.loadPlotState)