I'm trying to get the dimensions (bounding box) from a linked object in python, but all the methods to commonly get the measures give me a zero vector.
bpy.data.objects['Linked_Object'].dimensions
# (0.0, 0.0, 0.0)
bpy.data.objects['Linked_Object'].bound_box
# ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0))
I imagine is because the object is an empty
, so it does not have dimension. I suppose there is a way to access the underlying information of the linked object but I cannot find a way to do it.
I have to keep the object linked, I cannot make a local copy because it can be modified in the source file.
Any Ideas how to do it?
Thank you.