Add the geometry, and lock the geometry to the reference planes.
On the Properties panel, click (Family Types).
In the Family Types dialog, in the Formula column next to the appropriate parameter, type the formula for the parameter. For more information about entering formulas, see Valid Formula Syntax and Abbreviations.