Edit Formula
For entering values in dialogue windows, the function Edit formula is available from HiCAD 2021 in addition to the calculator. This function supports you in entering and editing more complex formulae. You activate the function by pressing the right mouse button in the value input field of a dialogue window and selecting the function in the context menu.
You can select the layout of the editor's keyboard using the tabs at the bottom of the window:
abc |
normal keyboard with numeric keypad |
Special characters |
Scrollable keyboard with upper/lower case letters and special characters |
History |
last used entries |
As soon as you enter something in the editor's input field, HiCAD automatically searches for functions whose name contains the string you entered. For example, if you enter sin, all functions are offered for selection whose name contains the string sin.
If you press CTRL+Space bar in the input field of the editor, a list of all supported functions is displayed.
A function/attribute is selected by double-clicking on the name in the selection list. The function is entered in the editor's input field and you can add the desired argument (in brackets) and extend the formula as desired. Nested formulas are also possible.
If you point the cursor to a function/attribute name of the formula, corresponding information is displayed as a tooltip.
If you edit a formula that belongs to a part that has already been inserted into the drawing, you will be offered the assigned part variables in the same way:
Here you will be shown the name of the variable as well as (if available) the comment for this variable.
You can insert line breaks using the key combination SHIFT+ENTER. This allows you to distribute complex formulas across several lines, which can help to improve the clarity. By default, three lines can be entered into the input field; if you enter a longer formula, a scroll bar will appear at the edge. Alternatively, you can also drag the Edit formula window larger.
With OK the formula is taken over into the input field of the current function.
Further information can be found in the Feature Technology Help.