Skip to main content

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

 

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.


Thanks @DaveAtSafe.

 

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

 


Reply