Calculator OverviewKeyCreator \ Tools \ NonGeometric \ Calculator \ CalculatorOverviewThe Calculator feature available in KeyCreator can be used to evaluate algebraic expressions and set userdefined or systemreserved variables without leaving the software. A variable is a value that you name and store. It can contain certain types of data that you can modify while working in the program. Whenever you are asked for a value, you can use algebraic expressions rather than entering numbers on the Conversation bar. The calculator can be invoked while you are already in a function (for example creating a line) and it will not exit out of that function. This makes it an immediate mode command; it temporarily suspends what you're doing to perform calculations or set variables. You can also enter an expression instead of a value, for example, 1/8 instead of .125. NOTE: You can use the Calculator to convert units on the fly. For instance, if you were to open an inches file and use the Create>Line>By Endpoints function and enter a Key in value of "25.4mm" (for the X coordinate), that value would then automatically be converted to "1" (inch). Such a conversion will occur for all units and anywhere that the calculatortype edit field is displayed. Similarly, if you were to open a millimeter file and use the Create>Line>By Endpoints function and enter a Key in value of "1in" (for the X coordinate), that value would then automatically be converted to "25.4" (mm). KXL also uses the same variable environment, so KXL and the program can share variables across their storage environments.
ExampleThe calculator will accept measurement input in any of the units that the program supports. An example of this is shown below. Inches: 5" or 5 in or in(5) Feet: 5' or 5 ft or ft(5) Feet and Inches: 5' 5" Yards: 5 yd or yd(5) Millimeters: 5 mm or mm(5) Centimeters: 5 cm or cm(5) Meters: 5 m or m(5) In other words, if the current part has units of millimeters, then the calculator will convert an input of 1" or in (1) to 25.4.
