Max length,Height & Width of components

Hi,
Im looking for some help/advice on getting the max length and max width of items in revit.
So what ive done is :

  1. Selected the element,
  2. Created the bounding box of that element
  3. Then get the Height, Length & Width of the bounding box.

This all works fine until i come to sloped elements like a roof panel, then dynamo creates the bounding box on the horizontal plane, giving me incorrect Dimensions
Is there a way to get revit to create the bounding box normal to the plane of the roof panel ?

2 Likes

yes im facing the same issue im trying to reopen this subject hopefully someone will have a solution.