I have several global variables ( variable1, variable2, variable3,...) and I want to call the the variable depending on the type since there are multiple types. For example:
if type=1
Variable+type
Variable1++;
I have several global variables ( variable1, variable2, variable3,...) and I want to call the the variable depending on the type since there are multiple types. For example:
if type=1
Variable+type
Variable1++;
Can you give us some more information? Do you work in ProcessFlow or in a Trigger in the 3D Objects? Are you familiar with coding in FlexSim or better said, did you ever use a "Switch" command?
As shown in the User Manual:
@Lucy You could also put the global variables in an array and use the index to have access to a particular global variable
Hi,
I think this can work, but where do I add the array for a global variable?
@Lucy Just where you also create a normal global variable:
9 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