Lately I’ve been learning to script a bit in python and I’ve been trying to create a script that loops through the selected objects (polysurfaces) and puts a minimum boundingbox around each and then selecting all of those at once it’s done.
So far I’ve found a script that creates a minimum bounding box around an object and that works great, but I’m having troubles trying to adapt it to multiple objects.
This is where I’m at right now.
MinBoundingboxAll.py (532 Bytes)
I’m guessing trying to put objects into a list isn’t going to work? Is there any other way to remember the objects in order to loop through them or am I approaching this the wrong way?