system.mes.oee.getEquipmentAvailableMaterial

Sepasoft MES Module Suite

Description

Return MES object links for the material definitions that can run at the specified equipment path according to the material name search pattern.

Syntax

system.mes.oee.getEquipmentAvailableMaterial(equipmentPath, searchPattern)


  • Parameters

String equipmentPath - The equipment path where the material definitions are run.

String searchPattern - Material name filter pattern to limit the results by. It can contain the * and ? wild card characters.

  • Returns

MESList<MESObjectLink> - An MESList containing an MESObjectLink object for each material definition object in the results.

  • Scope

All

Code Examples

Code Snippet

Code
##For Line 1, get all available materials
path = "Enterprise\Site\Area\Line 1"
list = system.mes.oee.getEquipmentAvailableMaterial(path, '*')
for i in range(list.size()):
	matLink = list.get(i)
	print matLink 

Output

Code
PC_0001
PC_0002
Material X
... 

Sepasoft MES Module Suite