AdvancedTransporter_PickAtom
Posted: Friday 30 January, 2015 - 23:13
Hi,
Does anyone know how to use 4DScript "AdvancedTransporter_PickAtom " to pick up?
I'm beginner. I read help but I can't understand how to use 4DScript
I'm trying to simulate an AGV transportation system.
I want to AGV Picks up Atom by shortest distance rule or AGV Picks up Atom by Largest queue rule .
It means after AGV(AdvancedTransporter) delivary product atom to queue atom(D2,D5,D6 in attached model), moves to the shortest distance queue atom(2,3,4 in attached model).
I don't know where can I use 4DScript "AdvancedTransporter_PickAtom " !
in Trigger on entry of queue (D2,D5,D6 in model)? or in Trigger on entry of AdvancedTransporter?
when I write this 4DScript, my transporter ends picking up.
AdvancedTransporter_PickAtom(Atombyname([Advanced Transporter 1], model), IndexMin(NrIC(in(1,Atombyname([Advanced Transporter 1], model))),AtomDistance(Atombyname([Advanced Transporter 1], model),in(1,Atombyname([Advanced Transporter 1], model)))), First(c)))
please help me and tell me how to write this 4DScript and where!
See the model I've attached for more information.
Regards,
Niloofar
Does anyone know how to use 4DScript "AdvancedTransporter_PickAtom " to pick up?
I'm beginner. I read help but I can't understand how to use 4DScript
I'm trying to simulate an AGV transportation system.
I want to AGV Picks up Atom by shortest distance rule or AGV Picks up Atom by Largest queue rule .
It means after AGV(AdvancedTransporter) delivary product atom to queue atom(D2,D5,D6 in attached model), moves to the shortest distance queue atom(2,3,4 in attached model).
I don't know where can I use 4DScript "AdvancedTransporter_PickAtom " !
in Trigger on entry of queue (D2,D5,D6 in model)? or in Trigger on entry of AdvancedTransporter?
when I write this 4DScript, my transporter ends picking up.
AdvancedTransporter_PickAtom(Atombyname([Advanced Transporter 1], model), IndexMin(NrIC(in(1,Atombyname([Advanced Transporter 1], model))),AtomDistance(Atombyname([Advanced Transporter 1], model),in(1,Atombyname([Advanced Transporter 1], model)))), First(c)))
please help me and tell me how to write this 4DScript and where!
See the model I've attached for more information.
Regards,
Niloofar