hello,
For our Revit addin (in c#), I need to get some room boundingbox (based on model values)
For this I use element.Get_BoundingBox function, but it seems , the Z coordinates do not respect the base and limit offsets of the room ,
for example, a room has a level to 0 coordinate, a base offest equal to -400.0, in this case the box.min.z value is 0 in place of -400.0
is it normal and I am missing some logical aspect , or is it a Revit problem ?
How can I find the right values (I know how to compute them by recalculating from levels and offsets , but I prefer if I can have the result by a direct api call)
attached, a demonstration c# project and a test rvt file inside
thanks in advance
Luc