Copy geometry from a revision to another.
Hello, Is it possible, inside a project, to copy geometry information from a revision to a new revision without regenerates it ?
My use case is the following. I change the name of an IfcProduct (with the lowlevel interface). The new revision doesn't imply a visual geometry modification. So the previous revision should include the right geometry information. In order to save resources and work with the same revision, I would like to copy the geometry from the previous revision to the new one.
Thanks.
Pretty sure this comes down to the same issue as https://github.com/opensourceBIM/BIMserver/issues/788.
I would really like to implement this, but it's not on the top of my list of priorities.
Preferrably I would implement this by determining whether any geometry needs to be regenerated (and also which geometry), but a quick workaround for your case could be to simply select a set of IFC entities (such as IfcProperty) that cannot possibly require recalculating the geometry.
If you don't feel like implementing this yourself, you could definitely help by determining which IFC entities can never trigger changes in the geometry. Preferrably I'd like to see a complete list, and not just a list that solves your problem ;)
I think the relevant entity types are all located in some of the schemas in the resource layer only, namely:
Unfortunately, the schema architecture is not reflected in Express and subsequently not in the generated EMF classes, so one would have to use these lists. I would also double-check the remaining layers and schema parts.