Look into
Design Tables. They allow you to specify parameters in an embedded Excel file (you must have Excel installed to use them). We have a few generic gear files that allow us to create gears of any pitch, width, pressure angle or tooth count just by changing a few numbers.