i'm having this problem, when i try to use de command @.getFrontWagon.full the program tells "A 'void' cannot accept the method 'full' ". What can i do??
i'll send a attachedment with the problem
Go to Solution.
in your simulation model, the @ already is the tractor and does not have a frontwagon.
So first check if @.isTracto before you want to have accesss to @.frontWagon.
Hope this helps.