Python - BoundingBox property returns indexer. How to get Element.BoundingBox?

Thanks Sean, I managed to get get_BoundingBox to work:

def GetCenterPoint(ele):
	bBox = ele.get_BoundingBox(None)
	return (bBox.Max + bBox.Min) / 2

I was using the function in a larger script… I think my issue is related to this post:

Where can I find documentation on the python Syntax for the API?.

1 Like