Hi Manuel and @rb_rodrigo, Many thanks for the tips about the Python console and help with the code. I'm a beginner (not even that!) in scripting, so much appreciated. It works as expected now! Cheers, Frederik