On 08/12/2014 at 07:11, xxxxxxxx wrote:
Hi!
I try to write a short script in cinema 4d R14 in Python.
I want to get the size of an object in a c4d scene (Polygon Object). For that I used:
bc = obj.GetDataInstance()
bc.GetVector(c4d.PRIM_CUBE_LEN)
The Output is always (0,0,0) and I dont know why. I am not sure, if c4d.PRIM_CUB_LEN is the size of the bounding box but I could not find something else than that.
Would be cool if someone has a clue/ idea :)