Equations

Hi,

Is it possible to put an IIF in an equation to check if a feature in a part is supressed?

I would like to create an Equation like this:

value = IIF(Part.Extrude1 = supressed, 50, 100)

If it´s possible, what is the right syntax?

By the way, I´m running SW 2009.

Thanks in advance,

Vinicius

SolidworksApi macros