system.mes.loadMESObjectsByEquipmentPath

Sepasoft MES Module Suite

system.mes.loadMESObjectsByEquipmentPath

Load and return an MES object based on the equipmentPath parameter. Includes parameter to include Supplemental Equipment as objects to load (default setting is False = not included).

Syntax

system.mes.loadMESObjectsByEquipmentPath(equipmentPath, includeSupplementalEquipment)

  • Parameters

String equipmentPath - The path of equipment object to load.

Boolean includeSupplementalEquipmentIf True, then Supplemental Equipment will be included as objects to load. Default setting is False (not included).

  • Returns

An AbstractMESObject object. It can be a MESEnterprise, MESSite, MESArea, MESLine, MESLineCell, MESLineCellGroup, MESStorageZone, MESStorageUnit or Supplemental Equipment type of MES object.

  • Scope

All

Python
objList = system.mes.loadMESObjectsByEquipmentPath('[global]\My Enterprise\California\Plant Floor\Line 1', True)
for obj in objList:
	print obj.getName()

Output

Code
Line 1
Rolling Cart 1
Rolling Cart 2
Rolling Cart 3
Rolling Cart 4
Rolling Cart 5



Sepasoft MES Module Suite