Create Filter

Sepasoft MES Module Suite

SPC | Control Limits | Create Filter

Warning

Stable Version: 3.81.5 and later

Release Candidate: 3.81.4 RC6 and later

Python
path = 'New Enterprise\New Site\New Area\New Line\New Location'
clFilter = system.quality.spc.controllimit.createFilter(path)

#Optional filter items
# Get limits after
clFilter.setAfter(system.date.addDays(system.date.now(), -7))
# Get limits before
clFilter.setBefore(system.date.now())
# Get limits for a specific definition by name
clFilter.setDefinitionName('My Definition')
# Get limits for a specific attribute by name
clFilter.setAttributeName('Width')
# Get limits for a specific limit by name
clFilter.setLimitName('Individual LCL')
# Get limits for a specific product code
clFilter.setProductCode('A Product Code')
# or get limits specifically not asociated with a product code
clFilter.setProductCode(None)
# Do not call setProductCode to get limits for both no product code and all product codes

data = system.mes.spc.controllimit.getLimitInfoByFilter(clFilter)






Sepasoft MES Module Suite