Sepasoft MES Module Suite
system.mes.loadMESObject
These script functions are used to load the MES object.
Functions:
loadMESObject(mesObjectUUID)
Load and returns a MES object based on the mesObjectUUID parameter.
Syntax
system.mes.loadMESObject(mesObjectUUID)
- Parameters
String mesObjectUUID - The UUID of the MES object which is its unique ID.
- Returns
The MES object specified by the UUID.
- Scope
All
Code Example
Python |
#Get the MES object for a given object UUID. obj = system.mes.loadMESObject('8573275e-d5d3-403b-9db5-00377a06c1ad') |
loadMESObject(name, mesObjectTypeName)
Load and returns MES object based on the name and mesObjectTypeName parameters.
Syntax
system.mes.loadMESObject(name, mesObjectTypeName)
- Parameters
String name- The name of the MES object.
String MES Object Type Name - The name of the type of MES object.
- Returns
The MES object corresponding to the specified MES Object Type Name.
- Scope
All
Code Example
Python |
#Get the MES object for a given name and MES object type. obj = system.mes.loadMESObject('Box', 'MaterialDef') |
Sepasoft MES Module Suite