Solved

Help with AppearanceSetter

  • 24 August 2018
  • 2 replies
  • 12 views

Badge +12

Hi,

I am new to the appearance setter and while I having no trouble applying a colour using the appearancesetter, I am having trouble applying a texture. Can someone please me show me how?

Attached is a FFS file with 9 roof geometries and 9 images, both having a _count attribute that references them to one another.

Thanks is advance,

Todd

 

icon

Best answer by daveatsafe 24 August 2018, 01:45

View original

2 replies

Userlevel 2
Badge +17

Hi @todd_davis,

The AppearanceSetter matches the Raster attribute to a Geometry trait, so the first step is to set _count as a trait using a GeometryPropertySetter transformer. Then you can use the AppearanceSetter with the Appearance join attribute and Geometry join trait set to _count.

I also added an AppearanceRemover to remove the existing appearances on the mesh parts, to avoid having two appearances at different hierarchy levels.

setappearance.fmw

In your data you seem to have two rasters with _count = 2 and none with _count = 7, so the geometry with _count = 7 is being rejected from the AppearanceSetter because it has no match.

Badge +12

Thanks @DaveAtSafe.

 

I wouldn't have figured that out quickly... Cheers

 

Reply