Opening a GUI is very simple with the "createview" command combined with the GUI's path in the tree - but I cannot convince a dashboard to open correctly with the same command. Has anyone done this successfully?
Opening a GUI is very simple with the "createview" command combined with the GUI's path in the tree - but I cannot convince a dashboard to open correctly with the same command. Has anyone done this successfully?
You need to use the "dashboard" application command, for example this opens the first dashboard in your model:
applicationcommand("dashboard", Model.find("Tools/Dashboards").first);
Hi Matthew, when I ran this code, the dashboard window opened but the dashboard didn't appear in the ToolBox list which lists out things like: All user commands, all global tables, all groups, all dashboards. Is there a way to create the dashboard and reference it afterwards in order to: change the dashboard name, add charts and graphs? Thank you.
That command doesn't add a new dashboard. To add a new dashboard use this command:
treenode newDashboard = applicationcommand("adddashboard");
6 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