Hi John, [quote userid="5334" url="~/products/microstation/f/microstation-forum/217954/expression-for-add-item-array-property-values"]how do I add the values in Qty with an Expression in TotalQty.[/quote] In Qty property, you would like to calculate a number of items in Plants array? It cannot be done using Expression, because such function (symbol) is not available. Because to calculate anything in array (array length, its sum...) requires to iterate all items one by one, I guess such functionality would lead to performance issues (when thinking, how often Item Type are checked for property values). Extra functionality (like to sum, aggregate...) is available in reports. Alternative solution can be to write application (VBA should be enough I guess, but it has to be tested) that will - similarly to reports - examine Item Type(s) and array(s) content in one run and will update TotalQty accordingly. With regards, Jan
↧