I can find the variable "enable" in the tree for my Statistical collector, but I dont know how to access it.
I tried something like
Model.find("Path to Statistical Collector").labels["enable"] = 1.0;
without success.
I can find the variable "enable" in the tree for my Statistical collector, but I dont know how to access it.
I tried something like
Model.find("Path to Statistical Collector").labels["enable"] = 1.0;
without success.
You can use the below code to enable and disable the statistics collector. You can find this in tree node (Tools>>StatisticsCollectors>>StatisticsCollector1>>Variables)
Model.find("Tools/StatisticsCollectors/StatisticsCollector1>variables/enabled").value = 0;
0 - Disable
1 - Enable
Thanks
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