I have been trying to resolve this issue of assigning variables. See example showing in the image. Unfortunately, I need help resolving this Primer_4-3a.fsm
I have been trying to resolve this issue of assigning variables. See example showing in the image. Unfortunately, I need help resolving this Primer_4-3a.fsm
Hi @Stella,
The FlexScript error in your screenshot is because the black-lettering word None is being assumed to be a bit of custom code that you have written into that text box. Since the system thinks it's code, it sees it and says, "I don't know what that word means". If you truly don't want to use that property field, click the red X next to it so that it replaces your "None" with a purple "None", which the system recognizes.
There's a couple of other things in that activity that may cause you some issues.
First, in you "Create In" property you have the expression Storage[token.Storage], the word "Storage" has a special meaning in FlexSim's language, and I would recommend avoiding using it as a label or variable name to avoid confusion.
Second, The Create In field is expecting a reference to a specific object in the 3D model where the created components can be placed, like a Queue or a Processor. Your expression would try to put the created components into an Array-indexed position within the Storage class-object of FlexSim's language. "Storage" is more like concept that defines what Storage objects can do, rather being a storage object itself so we can't put things inside it.
11 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