Skip to main content
Solved

AppearanceSetter does not work with attributes

  • February 5, 2018
  • 1 reply
  • 97 views

mhab
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 106 replies

I want to apply color to 3D features via FME attributes.

To my disappointment I found that AppearanceSetter does not allow attribute values for color setting. AppearanceStyler does however.

Problem now is I have to split my stream of features in order to get one stream with the features, the other stream with the appearances so I can use the AppearanceSetter to finally apply the appearances.

Do I need to create unique Ids for each feature in order to get this working properly, or is there an easier way to do this ?

Any reason why AppearanceSetter doesn't allow me to do this directly ?

Thanks for any hint

Best answer by nathanatsafe

Hi @mhab,

I think that the GeometryPropertySetter might help in this situation, as it will set the Geometry trait that the AppearanceSetter uses to join your appearance and geometry features. You can set the Geometry trait to an attribute that exists on both of your streams of features.

Hope this helps.

Nathan

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.

1 reply

nathanatsafe
Safer
Forum|alt.badge.img+9
  • Safer
  • 284 replies
  • Best Answer
  • February 14, 2018

Hi @mhab,

I think that the GeometryPropertySetter might help in this situation, as it will set the Geometry trait that the AppearanceSetter uses to join your appearance and geometry features. You can set the Geometry trait to an attribute that exists on both of your streams of features.

Hope this helps.

Nathan