Modify Grout Color RGB values in Ceramic Appearance

Modify Grout Color RGB values in Ceramic Appearance

Anonymous
Not applicable
360 Views
0 Replies
Message 1 of 1

Modify Grout Color RGB values in Ceramic Appearance

Anonymous
Not applicable

I have a ceramic appearance with tiles and can manually edit and set the grout color RGB values, however as a ceramic appearance with tiles, it can have 20 grout colors. I'm looking for a way to automate and run an if statement where if the grout parameter in Inventor equals a condition, the RGB values change. Something like this

if Tile_Grout = "White"  Then
oTexture
.Item("texture_grout_color").Value = (255, 255, 255)
end if

I've found and used code at the upper level values of the appearance and changed colors e.g. wall paint RGB's, but not at the AssetTexture level and be able to change the grout_color value.

0 Likes
361 Views
0 Replies
Replies (0)