Skip to end of metadata
Go to start of metadata
Description

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

Code Examples
Code Snippet
obj = system.mes.loadMESObjectByEquipmentPath('[global]\My Enterprise\California\Storage\Vinegar Tanks\Vinegar Tank 1')
print obj.getName()
Output
Vinegar Tank 1
  • No labels