Hello, I'm trying to assign 4 labels(types) of parts depending of a percentage located in a global table. I'm doing it using an empirical distribution in an exit trigger of the shipment but it doesn't work. Could you help me with this?
Hello, I'm trying to assign 4 labels(types) of parts depending of a percentage located in a global table. I'm doing it using an empirical distribution in an exit trigger of the shipment but it doesn't work. Could you help me with this?
Your label's value expression to read the global table should be something like this:
Table("GlobalTable1")[Empirical("Percentage").get(getstream(current))][3]
And your Percentage table should be formatted with the columns switched so that the Data column contains the row value.
When using the Empirical command, you need to reference an empirical distribution, in your case you could use Empirical("Percentage").get(getstream(current)) in your trigger to use the empirical distribution "Percentage" that you have.
16 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved