Notifications
Clear all

[Closed] Create Bounding Box Script

Super basic. Might save someone a few minutes some day.


(
newdummy = dummy()
newdummy.name = uniquename("Bounding_Box_01")
Dummin = $.min
Dummax = $.max
Dumsize = Dummin - Dummax
dumsize.x = abs(dumsize.x)
dumsize.y = abs(dumsize.y)
dumsize.z = abs(dumsize.z)
newdummy.boxsize = dumsize
newdummy.pos = $.center
 
s = selection as array
for j in s do
(
 j.parent = newdummy
)
)

1 Reply

I did try another method but yours works better

Thanks