I’m running into an issue where I can’t get the right min and max coordinates in Dynamo. I’m using a Python script such as the following:
for element in elements: bbox = element.BoundingBox[doc.GetElement(element.OwnerViewId)] min = bbox.Min max = bbox.Max
Whenever I use this same code in Revit Python Shell, I get two different numbers for the min and the max.
For example: In Dynamo I get (-2.2, 93, 0) and in RPS I get (-32.2, 93, 0)
Any reason for the discrepancy?
I feel like I am missing some sort of conversion in Dynamo? Has anyone else seen this issue?