Skip to main content
I've got three different very simple 3D features that I want to export to a 3D PDF. That works.

 

 

But I now want to style each feature a different colour (based on an attribute).

 

But I can't figure out AppearanceSetter. There doesn't seem to be anything in the knowledge based newer than a very old FME-Evalangelist - http://blog.safe.com/2010/04/fmeevangelist58/  - and an article about what the Holder portion does - http://fmepedia.safe.com/articles/Samples_and_Demos/Using-the-HOLDER-ports-in-the-AppearanceSetter-transformer

 

 

All I want to do is set colours - no textures.

 

 

I feel the transformer is over-complex when I want to do something very simple (the help for the transformer doesn't live up to its name either). Suggestions welcome.

 

Thanks!

 

You can use the PDFStyler for that.

 

 

 Or you can wirite colors to the relevant pdf- attributes.

 

 

Read the dpf reader/writer section in the

 

 

http://docs.safe.com/fme/html/FME_ReadersWriters/Default.htm#pdf/Feature_Representation.htm
Hi Gio,

 

I ended up kind of figuring out AppearanceSetter - I used a testFilter to split by an attribute and then set up an AppearanceSetter for each one. Suboptimal I suspect but...

 

 

I'm not sure PDFStyler will do 3D stuff (it does work on the 2D stuff and in fact I only discovered it about 10 mins before your reply!).

 

 

Cheers,

 

Jonathan
Ah, yes, i kinda missed that it was supposed to be for the 3D pdf.

 

 

I usually do that trough setting the relevant attributes like fme_color, fme_fill_color etc.

 

Rather then appearancestylers you can use a single conditional attribute creator.

 

 Or a valuerangemapper aslo very handy for colormapping.

Reply