Hi,
I am trying to find an item with zero subnode length in the storage system, but my sample model does not work.
Is my query wrong?
Thanks in advance.
Hi,
I am trying to find an item with zero subnode length in the storage system, but my sample model does not work.
Is my query wrong?
Thanks in advance.
- The keyword item in the storage query refers to the Slot.Item class representation of the stored item. To check the number of subnodes you have to first get the actual object with item.item.
- ISNULL seems to return 0 if there are no subnodes regardless of the second parameter. You could also just check for the number of subnodes.
WHERE ISNULL(item.item.first, 0) == 0 WHERE item.item.subnodes.length < 1
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved