I have a revit file in which there are a few doors. When i try to extract the bounding box of the door then the sweep of the door is also included in the bounding box which i dont want. I just want the bounding box corresponding to the door itself. I am very new to revitAPI and C#. I would really appreciate if you guys can write some piece of code which can help me.
Door sweeps are typically not shown in 3D. Have you considered asking for the 3D bounding box instead of the current view? (Pass a null into the BoundingBox/get_BoundingBox method).