The Element.BoundingBox node seems to be taking some hidden geometry into account, while omitting others.
Below are instances of the same family with different parameter settings, which are enclosed by their bounding boxes:
Taking the front view to be x- and y- axes, note:
- viewport 1 surrounds its family perfectly in the x- and y-axes (except for the bit below y=0)
- viewports 2-10 of the viewports surround their highest y-point correctly by not taking the hidden beams into a account
- viewports 2-10 don’t bound their x-coordinate correctly, and seem to be taking the hidden pallets into account.
Below shows how when viewport 2 is overlayed above viewport 1, that it aligns perfectly with the pallets most left from viewport 1, which are hidden in viewport 2.
Here’s a snippet of the viewport code, as copied from:
Could someone advise me to as to why this would happen, or else direct me to where I could find the solution.