Even without iLogic you can use a math trick in Inventor to set a parameter value based on a logical condition, depending on the value of another parameter.
Strictly speaking it is not about a logical condition, but rather about testing of divisibility by two, using the standard arithmetic operator modulo (%):
returns 1 for odd values of v
and the expression:
returns 1 for even values of the parameter v.
By combining these two expressions you can form a "logical" conditional statement, which evaluates to H1 for odd values of v and to H2 for even values of v:
Analogically you can extend this method also for other values but the resulting expression may get complicated fast.