capture.jpgcapture-2.jpgcell-2-11.fsm
Hi,
I keep getting an error see attached pic. and the next 4 operators are not moving see attached picture.
I also attached the model.
Thanks,
AN
capture.jpgcapture-2.jpgcell-2-11.fsm
Hi,
I keep getting an error see attached pic. and the next 4 operators are not moving see attached picture.
I also attached the model.
Thanks,
AN
Your Clean Operator Resource is set to be Numeric. So when you Acquire a resource from the Clean Operator, the label that gets assigned to the acquiring token is just the number 1. You then call
token.resource.as(Object).centerObjects[1]
on a label with a number. It throws an exception since it can't convert a number to an object. You just need to change your Clean Operator Resource to point at an Operator in the 3D model.
I have 4 operators, so I just need to point out one of them with the sampler?
If you sample a single operator and then put the count as 4, the Resource will duplicate the sampled operator 3 times so you have 4. If you don't want to duplicate the operator and just use 4 operators already in your model, you can add them to a Group and then have the Resource point to the Group (sample the Group in the Toolbox or choose the Group from the drop down menu next to the Resource Reference field). If you reference the Group, the Count becomes the number of objects in the Group to use (so if you only wanted to use 2 operators from the Group, the Count field would be 2).
Hi Matt,
Thanks for the explanation. but on the solder operators there was no group created for them and they are working fine if I'm wrong let me know. Now I'm getting the error below. Should I just call customer support?
7 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