Skip to main content
Solved

GeometryPropertySetter - make it dynamic

  • Apr 13, 2021 7:59 AM UTC
  • 3 replies
  • 103 views

sigtill
Supporter
Forum|alt.badge.img+25

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"?

Best answer by sigtill

Or perhaps the TraitMerger. Will look into that.

TraitMerger worked like a charm!

View original
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

david_r
Celebrity
  • Apr 13, 2021 9:01 AM UTC

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


sigtill
Supporter
Forum|alt.badge.img+25
  • Author
  • Supporter
  • Apr 13, 2021 10:13 AM UTC

Or perhaps the TraitMerger. Will look into that.


sigtill
Supporter
Forum|alt.badge.img+25
  • Author
  • Supporter
  • Best Answer
  • Apr 13, 2021 10:21 AM UTC

Or perhaps the TraitMerger. Will look into that.

TraitMerger worked like a charm!