question

Łukasz E avatar image
0 Likes"
Łukasz E asked Jake W commented

Set custom quantity on a combiner

Hi,

I want to pack different amount of items on a combiner, based on a itemtype.

I used model in an attachment to do this, but I think after an update it is not working.

Anyone have an idea why?


set-combiner-quantity.fsm

custom combinerquantitycombiner component list
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jake W commented

The attribute itemtype has been changed from itemtype to a standard label Type

  1. setnodenum(thesum,gettablenum("GlobalTable1",item.Type,2));
  2. setnodenum(cellrowcolumn(thelist,1,1),gettablenum("GlobalTable1",item.Type,2));

If you let run the model, please be sure you set at least at the Combiner Component List the target quantity at the start to 1.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

gilbert jerald avatar image
0 Likes"
gilbert jerald answered gilbert jerald commented

@Łukasz E ·

Hi,

I have made some correction on your model and I have reattached it for your reference.

Note:

Since this logic is function based on the item type number you have to set the item type in the Pallet that generated from the source. Then for updating the combiner target quantity based on the item type, you have to create a global table in the format as it is done in the new attached model.

support-combiner-qty-update.fsm

Thanks


· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.