Model.CE_DetailDelete#

Model.CE_DetailDelete(ce_id, detailType, detailName, unknownFlag)#

Deletes connector details (stored in connector metadata) from connectors specified by ID.

Parameters:
  • ce_id (unsigned int) – The ID of the connector to delete details from.

  • detailType (hwString) – Detail type to delete. Valid values are “int”, “uint”, “double”, “string” and “triple”.

  • detailName (hwString) – The name of the detail to delete.

  • unknownFlag (unsigned int) – Reserved for future development. Must be set to 0.

Example#

Delete user-defined integer details named “test” for connector with ID 2#
import hm
import hm.entities as ent

model = hm.Model()

model.CE_DetailDelete(ce_id=2, detailType="int", detailName="test", unknownFlag=0)