Hi all,
I am working on one model, I want to get output percentage in display slide. please solve this query to my model.
Thanks in advance.
Hi all,
I am working on one model, I want to get output percentage in display slide. please solve this query to my model.
Thanks in advance.
Hey @Rambabu, each text object has a textnode. You can programmatically set that value.
I wrote some code to get the output of each tank.
/**Custom Code*/ Object current = ownerobject(c); treenode textnode = param(1); Object tank = Model.find("G1").as(Object); // this changes depending on the tank you want to sample int outputVal = tank.stats.output.value; textnode.value = string.fromNum(outputVal); return 0;
(The model is sped up in the gif).
The reason I went with tank output is because you can't split up the input of the fluid mixer by port (that I know of, I could be wrong).
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