Hi,
I'm working on a script that imports an IFC, then iterates through the 3d objects that compose the scene, parenting them to empty transforms to produce a transform hierarchy for a glTF export.
Here's the result when importing the glTF in Unity:
All objects come through correctly, except for these duplicate "floaters" around the origin.
I see that these are in the "Types" collection that is hidden by default on import, so I started doing some digging into identifying these and filtering them out of my object export list using if not element hasattr(e, "Types")
. Still, even after selecting only the "scene objects" excluding these objects under Type they still get exported.
It seems like because they are linked to their instances in the scene, maybe they cannot be easily separated for export purposes.
Does anyone have ideas on a solution for this? I have tried creating copies, unlinking, etc. but it is extremely slow and not ideal, I'd like to do as little post processing on the scene as possible.