I need the bounding box from the property boundaries. I have written the following script. However, I have a problem with one of the lines, dynamo does not give the bounding box in its original position, but swaps the coordinates. I need the bounding box at its host location. What can this be? and how can I fix it? Any ideas?
This looks correct if you are using the min and max points of the bounding boxes to redraw the lines. Min point is always bottom left, max is always top right relative to the global coordinate system. Keep in mind bounding boxes are also axis-aligned.