Sepasoft MES Module Suite
system.mes.loadMESObjectByEquipmentPath(equipmentPath)
Load and returns an MES object based on the equipmentPath parameter.
Syntax
system.mes.loadMESObjectByEquipmentPath(equipmentPath)
- Parameters
String equipmentPath - The path of equipment object to load.
- Returns
An AbstractMESObject object. It can be a MESEnterprise, MESSite, MESArea, MESLine, MESLineCell, MESLineCellGroup, MESStorageZone or MESStorageUnit type of MES object.
- Scope
All
Python |
obj = system.mes.loadMESObjectByEquipmentPath('[global]\My Enterprise\California\Storage\Vinegar Tanks\Vinegar Tank 1') print obj.getName() |
Output
Code |
Vinegar Tank 1 |
Sepasoft MES Module Suite