Different Min & Max values for Element BoundingBoxXYZ when it's looked up on a 3D view and on a Section view

Different Min & Max values for Element BoundingBoxXYZ when it's looked up on a 3D view and on a Section view

MiguelGT17
Advocate Advocate
610 Views
1 Reply
Message 1 of 2

Different Min & Max values for Element BoundingBoxXYZ when it's looked up on a 3D view and on a Section view

MiguelGT17
Advocate
Advocate

Dear community, It's not quite clear why the element bounding box coordinates do not have the same value when I do look it up on a section view against looking it up on a 3D view

 

Floor plan to give you some context:

MiguelGT17_0-1643403604576.png

 

  • lookup on the section view:

MiguelGT17_1-1643403773041.pngMiguelGT17_2-1643403821463.png

 

 

  • lookup on a 3D view:

MiguelGT17_3-1643403898329.pngMiguelGT17_4-1643403926227.png

 

 

 

 

the Min.Z value is slightly different. The same situation occurs for other elements with greater tolerance as shown below:

Floor plan to give you some context:

MiguelGT17_7-1643404337186.png

  • BB coordinates when I hit the Lookup tool on a 3D VIEW

MiguelGT17_5-1643404208610.png

MiguelGT17_6-1643404230971.png

 

  • BB coordinates when I hit the Lookup tool on a SECTION VIEW

MiguelGT17_8-1643404366292.pngMiguelGT17_9-1643404498340.png

 

What is making those values differ from each other?

 

Kind regards,

Miguel G

 

 

 

 

 

0 Likes
611 Views
1 Reply
Reply (1)
Message 2 of 2

RPTHOMAS108
Mentor
Mentor

RevitAPI.chm Element.BoundingBox Remarks:

 

"... Also note that this bounding box volume may enclose geometry that is not obvious. For example, the "flip controls" that could be part of a family will be included in the computation of the bounding box even though they are not always visible in the family instance of the family."

 

For your example you have the tick boxes in different positions per view perhaps. I would construct the bounding box in model lines to get an idea of what it is encompassing. However as noted the thing it is encompassing may be hidden.