Expressions in the Manufacture workspace
An expression is a combination of symbols used to define a parameter value. Using expressions, you can define values based on other parameters and conditions. If a value changes, related values are updated automatically.
Expressions are case-sensitive and need to follow a specific format. They may include the following symbols:
- Numbers
- Parameter names
- Conditions, known as an IF statement - to determine an expression value based on the result of one or more conditions.
- Units - to make sure that expressions are calculated correctly. If you don't specify units, then units set in the document are used to calculate expressions.
- Mathematical functions - such as rounding numbers, getting the sine or cosine of a value.
Using auto_parameters to extract information about holes and threads from the Design workspace
If you create a thread or tapped hole in your model in the Design workspace, the information about these features is also available in the Manufacturing workspace. Such information can include:
- Thread size
- Thread profile angle
- Thread direction (left- or right-handed).
This transfer of information enables an accurate representation of the features for manufacturing.
To populate parameter boxes in dialogs with this information, enter parameter names that start with the auto_ prefix. For example, to enter a value of the thread pitch when creating a Thread toolpath, select auto_threadPitch.
Updating your model in the Design workspace results in updating your toolpath data.