question

Natasha DG avatar image
0 Likes"
Natasha DG asked Natasha DG commented

Update Robot Capacity on Load Event

Hi,

I am looking to see what the code is to update a robots capacity is based on what the item picked is. For example, I am doing something similar to the queue max content using the following code:

getvarnode(current, "maxcontent").value = 4;

but I cannot figure out what the syntax is for robot capacity. Any help would be much appreciated. I looked through other answers, and could not find it.


Thanks!

FlexSim 22.2.0
coderobotcapacity
5 |100000

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

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Natasha DG commented

For TE objects use the method call:

setProperty("Capacity", newvalue)
· 1
5 |100000

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

Natasha DG avatar image Natasha DG commented ·
Thank you so much! Appreciate the help
0 Likes 0 ·