How do you remove all component in Arrangement?

Hi everyone! I'm looking to programmatically / block section remove all components within a vertical arrangement. Is there a way to achieve this? Currently, I'm using a dynamic extension to generate various components within the vertical arrangement. If it's possible, could someone guide me on how to delete all these components inside the vertical arrangement?

Which dynamic component extension are you using ?

In case you are using my CompCreator, you can get Children list of vertical arrangement, then loop this list to remove them one by one.

well i am using this one :