Hello,
I am trying to access the product filter property in a TransportIn process Statement and add a product type filter using the python API but I am unable to do so.Can anyone help me with this.
Hello,
I am trying to access the product filter property in a TransportIn process Statement and add a product type filter using the python API but I am unable to do so.Can anyone help me with this.
hi
something like that:
executor = comp.findBehaviour(‘ProcessExecutor’)
routine = executor.Processes[0]
filter = routine.Statements[0].setFilter(VC_FILTER_CONFIGURABLEPRODUCTTYPE)
filter.IsEnabled = True
filter.AcceptedProductTypes = [my_productType]
Thankyou very much.It worked