Model.hm_gethistorymemorylimit#
- Model.hm_gethistorymemorylimit()#
Returns the maximum amount of memory allowed to be used for recording history.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:memoryLimit (str)
Example#
Get the number of steps allowed to be recorded in the history#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_gethistorymemorylimit() print("lmemoryLimitimit", result.memoryLimit)