Model.hm_getinputoffsetid#
- Model.hm_getinputoffsetid(entity_type)#
Returns the current value of the import offset specified with
Model.feinputoffsetid().- Parameters:
entity_type (EntityFullType) – The type of entity to query.
- Returns:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:offsetValue (int)
Example#
Get the offset value for elements#import hm import hm.entities as ent model = hm.Model() _, result = model.hm_getinputoffsetid(entity_type=ent.Element) print("offsetValue", result.offsetValue)