Model.hm_defaultstatus_byentity#

Model.hm_defaultstatus_byentity(entity, attribute_name)#

Returns the default status of an attribute.

Parameters:
  • entity (Entity) – The object describing the queried entity.

  • attribute_name (hwString) – The name of the attribute.

Returns:

Note

If the attribute is set to the default value (grayed out in the card previewer), the function returns 1; otherwise, it returns 0.