What causes the error message "The function getitemgetvarnode is not recognized" in the attached model? I am trying to get the maximum content of the elevators to display on the screen.
Thanks,
What causes the error message "The function getitemgetvarnode is not recognized" in the attached model? I am trying to get the maximum content of the elevators to display on the screen.
Thanks,
There is an error in that OBject Statistic pickoption you're using for the text display objects. You can fix it pretty easily though. Click on one of your text objects and on the Text Display field click the scroll button to open up the code editor. On line 92 and 95 replace the word getitemgetvarnode with getvarnum:
statstr = numtostring(getitemgetvarnode(item, ITEMVAR_PROCESSTIME), 0, 2); -> statstr = numtostring(getvarnum(item, ITEMVAR_PROCESSTIME), 0, 2);
Hit OK and then do this on the other text object as well.
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