Returning the correct Bounding box after Geometry has been cut

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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