CAD+ Toolset | Utilities for SOLIDWORKS automation
SOLIDWORKS utilities for improving your productivity in SOLIDWORKS. Automate properties, geometry, export and much more

Download Buy

Expression Box Control


Expression Box control is used in the different modules of CAD+ and allows to input the expression with dynamic variables. Unlike traditional Text Box controls where only static text can be specified, Expression Box allows to combine the text with variables. The value will be resolved dynamically by CAD+ to generate a text.

User can type any text into the Expression Box

Expression Box control
Expression Box control

  1. List of available variables
  2. Free text in the expression
  3. Variable in the expression
  4. Variable with additional parameters
  5. Button to configure the parameters of the variable
  6. Popup box to edit long expressions

Each Expression Box will contain its own list of variables. However the mouse over the variable link to learn the value of each variable

Inserting variable into the Expression Box
Inserting variable into the Expression Box

User can edit, change or copy-paste the value of the expression box.

Some of the variables might have their own parameters. Those parameters needs to be entered on the insertion of the variable or at any other time by clicking the gear icon

Editing parameters of the variable in the Expression Box
Editing parameters of the variable in the Expression Box

For the long expressions or expressions with new lines it is recommended to edit it with the popup box

Editing expression in a popup box
Editing expression in a popup box

The same features are available in the popup box (e.g. inserting variables, editing parameters, entering text). New lines are also supported by pressing Enter key and the popup box can be resized by moving the thumb symbol in the right bottom corner of the popup box.


Product of Xarial Product of Xarial