Hopefully some of you can help me with this problem.
i’m trying to learn some python, by using some existing python script and modifyning it to fit my needs.
the script i’m making is creating new views and setting a boundingbox as sectionbox in the new view.
it works when i have a singel boundingbox and view name, but i would like to make it work for multiple views and boundingboxes.
when i feed the inputs with list i get the error “TypeError: expected str, got list”
if any one could point me in the right direction, i would appreciate very much!
There’s already a few examples on the forum showing how to perform python loops. Have a look here:
Better yet, you could check out some of the python nodes on the package manager for a more detailed look, 99% of them have a for loop inside.
Thank you for the hints Dimitar
Finally made it work, and learned a little more about python!
This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.