Model.groupsetconfigtype#

Model.groupsetconfigtype(collection, destConfig, destType)#

Updates the configuration and the type of the selected group entities during basic entity conversion.

Parameters:
  • collection (Collection) – The collection containing the group entities to update.

  • destConfig (unsigned int) – The group configuration that is equivalent in the destination profile.

  • destType (unsigned int) – The group type that is equivalent in the destination profile.

Example#

Update the CONTACT groups to configuration 2 and type 1#
import hm
import hm.entities as ent

model = hm.Model()

groups = hm.Collection(model, ent.Group, cardimage="CONTACT")

model.groupsetconfigtype(collection=groups, destConfig=2, destType=1)