question

Vanessa Buen Abad avatar image
0 Likes"
Vanessa Buen Abad asked Sam Stubbs commented

Which comand returns the content of a rack?

Hello

I would like to write a condition in which if the rack has at least one box, do some instructions but I don't know if "content(Rack1)" is the correct comand because the comand content returns the number of child nodes in a parent node.

I want to write this condition:

If(content(Rack1)<0){

Do something}

I will appreciate your help. Thank you so much

Choose One
racks
· 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.

1 Answer

Sam Stubbs avatar image
1 Like"
Sam Stubbs answered Sam Stubbs commented

"content(Rack1)" will work. It returns the number of items in the rack in all bays and levels. If you want to look for something more specific to racks (such as rackgetbaycontent() ) then as Jorg said, you can look in the Commands documentation. (Go to Help > Commands. Or you can go to Help > Command Helper to look up specific commands.)

· 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.