Hi!
I'm a total Python noob and I would like to get the bounding box of a Null with different objects under it (including generators) out of a Python Xpresso node.
I found this bit of code but it does only work for single objects:
import c4d
#Welcome to the world of Python
def main():
global x
global y
global z
rad = obj.GetRad()
x = rad.x * 2.0
y = rad.y * 2.0
z = rad.z * 2.0
Maybe "c4d.utils.GetBBox(pObj, mg)" could be used for that but I don't know how to implement it.
I would be grateful for any suggestions