|
Using variables in versions |
Scroll |
In some cases you may need to change the objects of dependent versions while preserving their links with the objects of the original versions. Variables are used for this purpose.
Each geometric object in a model has a set of variables. Such variables include operation parameter variables and sketch size variables. These variables are used to control the geometry of the model.
|
Hereinafter we mean that the sketch size variables used for geometry control correspond to the control dimensions (see sections General Information and Controlling and informational dimensions. Dimensions with Variables). |
If the link between the dependent version and source version objects is preserved, you cannot edit the objects of the dependent version. Thus, in the dependent version you can’t edit the values of the variables created for these objects.
To manage the geometry of dependent versions using variables you should create user variables and map them to the necessary operation parameter variables and dimension variables.
|
The set of custom variables of the original version is exported to the versions created based on it. See section Custom variables in versions. |
Comparison of variables is performed on the Variables toolbar. For mapping a custom variable is configured as the variable for the operation parameter variable or dimension variable, i.e. the name of the custom variable is added to the Expression cell of the operation parameter variable or dimension variable.
After that you can configure the values of user variables. These values will be transferred to the mapped operation parameter variables and sketch dimension variables. As a result, the version geometry will change.
|
For proper operation, create and match custom variables in the main model version before creating the remaining versions. In this case, each model version will have the same set of variables. |
To set different values for a variable in different versions, use Document manager. See section Assigning values to custom variables.
See also