Unsure where to place an IF Function

Hi All

I’m unsure where/how to enter this IF Function into the component attributes (if i’ve understood it correctly)

IF(DisplayPlinth!a004_TopThickness<3,DisplayPlinth!BaseColour,DisplayPlinth!TopColour)

What I’m trying to achive is if the top thickness is less then 3 cm the top colour will be the same as the base colour, if it’s greater then 3cm it will return the colour value selected in the component options window.
I’d also like to add a text box to the options window to notify of this?

Any help would be much appreDISPLAY PLINTH.skp (114.3 KB)
ciated
Many Thanks
Adam

Solved, didn’t place “=” at the beging :relieved:

begining