Skip to main content
Solved

AppearanceSetter does not work with attributes

  • February 5, 2018
  • 1 reply
  • 85 views

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

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

View original
Did this help you find an answer to your question?

1 reply

nathanatsafe
Safer
Forum|alt.badge.img+7
  • Safer
  • 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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings