Skip to end of metadata
Go to start of metadata

Deleting Artifacts can be accomplished with two general methods.

  1. Purging all Artifacts in a date range using: system.mes.purgeArtifacts
  2. Delete a single artifact linked to an object: 
Delete Artifact
name = 'test material'
obj = system.mes.loadMESObject(name, 'MaterialDef')
obj.getArtifactProperty('The Artifact').setEnabled(False)
system.mes.saveMESObject(obj)
  • No labels