Message 1 of 1
Modify Grout Color RGB values in Ceramic Appearance

Not applicable
05-02-2020
06:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.