You can simulate IF THEN statements using MIN Max statements but they get
very ugly. A better solution is to be a VBA function. See my tutorial on
the subject...
http://www.sdotson.com/freetut/vba%20functions%20in%20parts%20part%20one.pdf
(if you want to go the MIN MAX route see this tutorial. It's about motion
but it shows you how to use them)
http://www.sdotson.com/freetut/advanced%20motion%20part%20one.pdf
--
Sean Dotson, PE
Autodesk Inventor Certified Expert
http://www.sdotson.com
http://www.sdotson.com/forums/
Check the Inventor FAQ for most common questions
http://tinyurl.com/2mk45
-----------------------------------------------------------------------
"BTBeilke" wrote in
message news:40a268a9$1_3@newsprd01...
> Is there a way to use an IF statement in an IV parameter equation? For
> example, if I have one parameter (P) that may be set to either 6", 12" or
> 18", can another parameter (R) have an equation that says: IF P=6", THEN
> R=1; IF P = 12", THEN R=2, etc.? I guess I'm looking for something
similar
> to what you could do in Excel. (Yeah, I know I could link/embed a
> spreadsheet, but it seems like a bit of a waste just to get one formula.)
>
> FYI, the values above are made up. I can't do something as simple as
R=P/6.
>
> Thanks,
>
> Blane
>
>