Model.hm_entityminsolverid#
- Model.hm_entityminsolverid(entity_type, id_pool_name='')#
Returns the minimum solver ID in use for an entity type.
- Parameters:
entity_type (EntityFullType) – The type of entity to query.
id_pool_name (hwString) – Indicates whether the minimum internal ID should be considered over all ID pools or a specific ID pool only.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:minSolverID (int)
Examples#
Get the minimum internal ID for properties#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_entityminsolverid(entity_type=ent.Property) print("minSolverID", result.minSolverID)
Get the minimum solver ID for properties in the two_idpool property ID pool#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_entityminsolverid(entity_type=ent.Property, id_pool_name="two_idpool") print("minSolverID", result.minSolverID)