Model.hm_getdefaultcardimage#

Model.hm_getdefaultcardimage(entity_type)#

Returns the default for the specified entity type the current template/profile. No value is returned if there is no default.

Parameters:

entity_type (EntityFullType) – The type of entity to query. All entity types are valid.

Returns:

Example#

Get the default card image for properties#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getdefaultcardimage(entity_type=ent.Property)

print("cardImage", result.cardImage)