Could someone explain this to me?
bpy.ops.mesh.primitive_cube_add(size=2)
obj = bpy.context.object
obj.location = (1, 2, 3)
obj.dimensions = (1, 2, 3)
print(obj.dimensions) # => <Vector (2.0000, 2.0000, 2.0000)>
I have a longer script but basically does the same thing. I'm trying to grab the obj.dimensions.z of a current obj, bpy.context.object
, after I change it. But it keeps giving me the original value before it was changed. Even though the scale is applied. Am I missing something really obvious?? Thanks all. I am losing my mind.