Skip to main content

Using the GeometryPropertySetter to set Traits to IFC files needs to use an AttributeExposer to be able to select the right attributes to put on the trait. This does not work well on Dynamic Workspaces with 20-100 attributes.

 

Is there a way to use the GeometryPropertySetter in a dynamic way? For instance submit a list of attribute names or some other "hack" to make this dynamic for "more IFC-files"?

The "obvious" solution is probably to use Python, where you can programatically access any attribute regardless of if it's been exposed or not?

https://docs.safe.com/fme/html/fmepython/api/fmeobjects/geometry/_surfaces/fmeobjects.FMEFace.setTrait.html#fmeobjects.FMEFace.setTrait


Or perhaps the TraitMerger. Will look into that.


Or perhaps the TraitMerger. Will look into that.

TraitMerger worked like a charm!


Reply