filter.parseCustomPropertyValueFilter

Sepasoft MES Module Suite

system.mes.object.filter.parseCustomPropertyValueFilter(filter)

The results can be limited to only include items that have a parse custom property expressions defined by this property that evaluates to true.

Syntax

system.mes.object.filter.parseCustomPropertyValueFilter(filter)

  • Parameters

String filter - The property value to filter the results.

  • Returns

List<MESPropertyValueFilter> - A list containing property path, type, value, etc.

  • Scope

All

Code Examples

Python
filter = system.mes.object.filter.createFilter()
list = system.mes.object.filter.parseCustomPropertyValueFilter('pH > 5.0,Width = 2.5')
filter.setCustomPropertyValueFilter(list)
results = system.mes.loadMESObjects(filter)
for link in results:
	print link.getName()

Sepasoft MES Module Suite