Is there a possibility to empty a container? I have some sort of index table that rotates and I want the objects to be deleted at a certain point. Just like they disappear after a conveyor.
I can’t find anything regarding this in the F1-Help.
a container behaviour has a proptery Components that is a list of all components stored in the container. You can run a loop overall components in the container and remove them with the deleteComponent() method of the vcApplication instance.
app = getApplication()
for component in conatiner.Components:
app.deleteComponent( component )