Is there is any way to Get the Stats like subnodes.length of the conveyor's Decision point and Station, i could not get the stats if i use Model.find("Station1").subnodes.length.
Is there is any way to Get the Stats like subnodes.length of the conveyor's Decision point and Station, i could not get the stats if i use Model.find("Station1").subnodes.length.
Getting subnodes of a Decision Point or Station should still work. But those objects generally do not have any subnodes, if you didn't place them there while building the model.
Statistics such as input and output are accessed through the "stats" property like with other objects.
To check whether there currently is an item waiting at the DP or Station you can use the following:
Object dp = ...; Object item = dp.as(Conveyor.DecisionPoint).activeItem; if(objectexists(item)) { // There is an item at the DP }
14 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