Model.hm_defaultstatus_byname#

Model.hm_defaultstatus_byname(entity, entityName, attributeName)#

Returns the default status of an attribute.

Parameters:
  • entity (EntityFullType) – The type of the queried entity.

  • entityName (hwString) – The name of the queried entity.

  • attributeName (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.