Counting the number of components with the same name in the main component

Cylinders are copied automatically to a certain distance.
I want to deduce in the description the number of cylinders.
Is it possible to calculate the number of cylinders in the component?

you have almost got the answer, that is copies plus one. So description
=if(Cilinder!copies>=0, Cilinder!copies+1 & " cylinders", “no cylinders”)


Yes that’s right, but it’s not for my case :slight_smile:
Perhaps not very clearly explained what exactly is needed. I think so more clearly.

You can’t acces the attributes of Copies in dynamic Components, so you would have to take a different approach…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.