Returning the correct Bounding box after Geometry has been cut

Returning the correct Bounding box after Geometry has been cut

Anonymous
Not applicable
364 Views
0 Replies
Message 1 of 1

Returning the correct Bounding box after Geometry has been cut

Anonymous
Not applicable

Hi all,

 

I am using the Custom Exporter and am running into issues trying to reuse some of the geometry. Is there a reliable way to ensure that the geometry from two elements of the same type will be the exact same? I tried using the ExporterIFCUtils.UsesInstanceGeometry() function but the Steel Framing says it uses the Symbol Geometry. My next thought was to use the bounding box to check if the relative size was different. I used the following methods and all of them returned the same size before the Steel Framing was stretched. 

 

FamilyInstance.get_Geometry().GetBoundingBox()

FamilyInstance.GetOriginalGeometry().GetBoundingBox()

FamilyInstance.get_BoundingBox()

 

Attached is a simple model I made that has 3 beams of different lengths but have the same bounding box returned.

 

Any tips on how to successfully identify the same geometry between Elements would be greatly appreciated.

 

Thanks,

Mitch

0 Likes
365 Views
0 Replies
Replies (0)