# Can opening element geometry have \_any\_ material associated with it?

**URL:** <https://forums.buildingsmart.org/t/can-opening-element-geometry-have-any-material-associated-with-it/4621>\
**Category:** Developers\
**Created:** [February 8, 2023, 2:57pm UTC](https://forums.buildingsmart.org/t/can-opening-element-geometry-have-any-material-associated-with-it/4621 "2023-02-08T14:57:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![angel.velez](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@angel.velez](https://forums.buildingsmart.org/u/angel.velez)\
**Post date:** [February 8, 2023, 2:57pm UTC](https://forums.buildingsmart.org/t/can-opening-element-geometry-have-any-material-associated-with-it/4621/1 "2023-02-08T14:57:34Z")

</div>

IfcOpeningElement is not allowed to have a material association. It can have representation items with materials/colors, though. Should we be respecting these materials/colors on import?

---

<div class="post-metadata">

**Author:** ![aothms](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@aothms](https://forums.buildingsmart.org/u/aothms)\
**Post date:** [February 11, 2023, 1:13pm UTC](https://forums.buildingsmart.org/t/can-opening-element-geometry-have-any-material-associated-with-it/4621/2 "2023-02-11T13:13:36Z")

</div>

I think this is an interesting question. Some geometry libraries are indeed able to apply the material/color of the 2nd operand to the boolean result where the subtraction occurred.

I didn’t find any word on this in the specification. I would be inclined to say _we should not_. A physical interpretation of this would be that some sort of surface finishing is applied to the void (?). I’d say that is relevant information then that needs to be supplied semantically such as IfcCovering or IfcSurfaceFeature.

It would be a good time to ask around though what the implementations are currently doing. (IfcOpenShell-based applications for one would _not_ be able to apply it).

---

<div class="post-metadata">

**Author:** ![angel.velez](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@angel.velez](https://forums.buildingsmart.org/u/angel.velez)\
**Post date:** [February 12, 2023, 4:10pm UTC](https://forums.buildingsmart.org/t/can-opening-element-geometry-have-any-material-associated-with-it/4621/3 "2023-02-12T16:10:20Z")

</div>

I tend to agree with the interpretation that any materials applied to voids should be ignored - they don’t make sense other than for display.

---

<div class="post-metadata">

**Author:** ![TLiebich](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/tliebich/32/71_2.png) [@TLiebich](https://forums.buildingsmart.org/u/TLiebich)\
**Post date:** [February 15, 2023, 1:34pm UTC](https://forums.buildingsmart.org/t/can-opening-element-geometry-have-any-material-associated-with-it/4621/4 "2023-02-15T13:34:09Z")

</div>

I would also be inclined to disregard such presentation colors/styles. As @aothms said, the only use I could see is in Boolean operations (which in my understanding is however not too reliable).
