hi,
i am tyring to add a 'output bar chart' in the Dashboard by code ,Can code be used to achieve this command ? Thank you for your review。
hi,
i am tyring to add a 'output bar chart' in the Dashboard by code ,Can code be used to achieve this command ? Thank you for your review。
Hi @lancewu! I think it would help us to know what you're trying to accomplish. Why don't you want to use the pre-defined output chart?
Here's a start:
Object dashview=views().find("active>Documents/Dashboard/1+/~"); Object chartview=views().find("viewslibrary/Dashboard/Output/ThroughputBar"); Object chart=function_s(dashview,"createGraphWindow",chartview,1); Group group = getvarnode(chart,"replacements").subnodes["Objects"].value; group.addMember(Model.find("Processor1")); Object webgraph=dashview.find("GraphPanel").last; webgraph.location=Vec3(200,200,0); webgraph.size=Vec3(400,200,0); refreshview(webgraph);
Hi, excuse me, I also want to have a chance to know how to set the size of the chart by code ;
Thank you for your review。
20 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