I take references that I find with the
ReferenceIntersector, then I find the element ID and try to obtain the
BoundingBox Min/Max points.
But apparently I can’t get the
BoundingBox from the
FamilyInstance, and I need to somehow convert it to the actual
for ref in referenceWithContext: e = doc.GetElement(ref.GetReference()) # get the element print(e.Id) # prints correctly bbox = e.BoundingBox print(bbox) # prints <indexer# object at 0x0000000000000241>
I’ve found this but it didn’t offer a lot of help:
Any ideas on how to get the bbox from the element?