Component Container Capacity

Even though my Container1 has Capacity = 1, I can add multiple Components (i.e. ComponentCount = 2) without any errors even though the Capacity Parameter remains 1.


According to the documentation, capacity is the maximum number of components that can be stored in the container at any given time. That is, the logical capacity of the container.

To add the component to the container I use grab(part)

This is a kind of common thing in VC that limits and such are not enforced when doing things through the API.
It gives the flexibility of choice whether to respect the limit or not, which can be useful in some cases but the downside is that you need to take those limits into account in your own code.

1 Like

@TSy Thanks for the reply! Was not so intuitive but you are correct!