Cancel
Showing results for 
Search instead for 
Did you mean: 

Can a store receive different type of MUs and deliver them to different destinations?

Pioneer
Pioneer

Can a store receive different type of MUs and deliver them to different destinations?

 

If I have 6 types of products, can I use only 1 store to collect them and then send a required number of them to different places?

 

The only Method I know is "@.move", but it will deliver all the product to only one place.

 

Thank you!

4 REPLIES 4

Re: Can a store receive different type of MUs and deliver them to different destinations?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
if you have version 12.1 or higher you can use
<store>.findPart(<partName>) to
search for a part type. see help
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Can a store receive different type of MUs and deliver them to different destinations?

Pioneer
Pioneer

Is it absolutely not possible in 12.0.0?

Re: Can a store receive different type of MUs and deliver them to different destinations?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

it is possible, but you need to search your MU in the store. There are several approaches:

 you could e.g. run through all stored MUs and look for the right MU e.g.

 

for i:=1 to store.numMu loop

   if store.MU(i).name="MUName" then

      store.MU(i).move(yourDestination);

      exitLoop;

  end;

next;

 

Or you look in the ContentsList for the MU (see help).

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Can a store receive different type of MUs and deliver them to different destinations?

Pioneer
Pioneer
Thank you very much for your generous help!