I am looking for a Python solution to repeat a method until the user presses the right mouse button.
In detail, the method would pack the selected items in a specific list continuously including sub-objects and then by pressing the right mouse button, the script would go forward.
I realised, that the different type of GetObject(s) python methods with different features.
For example GetObject supports to select sub-object but GetObjects does not. That’s why, what if I repeat the GetObject method and I can get an instant GetObject(s) method by repetition. I think it is smart if it is possible.