I really need help. I'm student of mechanical engeenering and ,in this moment, i'm working on my undergraduate thesis base od simulation in Plant Simulation.
My deadline is near so I need your help
I have problem with exit control of proc "Lakiranje". I need to forward my product to different successors based on their names, but method "Razvrstavanje_dijelova" shows me some error.
I'm really new in this, and i can't find solution for this problem. I belive that it can be resolved in 2 min, but for me finding of solutions keept me occupied for few days.
And excuse me for croatian name of process. I hope that will not be problem.
unfortunately, nothing. :/
Console shows me this message : "Error in method '.Komponente.Kučište_DOBRO.Razvrstavanje_dijelova' in line 4: A 'void' cannot accept the method 'Name'."
I tried function inspect @.name and the result was the same.
I'm sorry, but I dont get any failure
But I guess your method Razvrstavanje_dijelova is wrong (may be a @.move is missing), there is no movement behind this station (remember: you need to move each MU in the exit control --> else branch).
Can you post the content of this method?
This is code of method Razvrstavanje_dijelova.
(r : object) : integer
if @.name="Kučište_nakon_probijanja" then
elseif @.name=".MUs.Kučište_l1" then
elseif @.name=".MUs.Kučište_l2" then
elseif @.name=".MUs.Sve_za_1_impeler" then
elseif @.name=".MUs.Sve_za_1_impeler1" then
elseif @.name=".MUs.Sve_za_1_impeler2" then
elseif @.name=".MUs.Razrez_plocica" then
again nothing. I tried that earlier today and now again, and i get exactly the same console error like i wrote in the previous comment.
I really don't get where i made mistake. :/