colorstransparentifcxbim

How to transparent a single wall in xBim


I have a ifc file with with some walls & furniture.

When i am using the IfcSurfaceStyleRendering or IfcSurfaceStyleShading I makes all my walls transparent like this.

enter image description here

All the walls are IIfcWall & I have also tried IIfcStyeItem from IIfcWall.Representation but it is making transparent all the walls at same time.

Whereas I just need a single wall to remain visible like this

enter image description here


Solution

  • so the reason why all the walls for ifc file became transparent is that all the walls uses the IfcStyleItem.in order to make a single wall transparent u just need to create and assign a new style item to that wall.