system.mes.updateDependencies

Sepasoft MES Module Suite

system.mes.updateDependencies(mesObject, mesObjectLinkList)

Update the changes of the specified MES object to the MES object represented by the MESObjectLinks in the mesObjectLinkList parameter.

Syntax

system.mes.updateDependencies(mesObject, mesObjectLinkList)

 

  • Parameters

 AbstractMESObject mesObject - A MES object with modified properties are propagated to the dependent MES object. See AbstractMESObject object in the MES documentation.

MESList  mesObjectLinkList - A list containing MES object links that represent the MES objects to propagate the changes to. This list can be obtained by calling getDependencies. Only the MES object links in this list that have not been disabled will be updated. See MES Object Link in the MES documentation.

  • Returns

Nothing

  • Scope

All

Code Example

Python
obj = system.mes.loadMESObject('Receive Turkey', 'ProcessSegment')
objList = system.mes.getDependencies(obj)
system.mes.updateDependencies(obj, objList)

Sepasoft MES Module Suite