There are two ways to work with assembly document and fragment document variables:
•variables are stored only in the corresponding build or fragment file. To change this variable value in the build and in the fragment, the user must change the variable in the specific fragment file.
•adopting variables. You can create a document that stores all variables and databases. The document you need to add all the documents in which the variables and the database will be used.
The user can choose which variables to adopt for each file. These variables can be used as normal fragment variables when creating the geometry. In this case, you will need to change the variables in a single file.
To adopt data from a fragment, use a special command in the context menu of the selected fragment.
A window Adopt Fragment Elements is called where you can specify which variables and databases will be used in the assembly.
All selected variables are added to the variable editor.
In addition, you can adopt variables directly from the variable editor: the Adopt Variables command must be called from the context menu of the variable editor.
Variables can be adopted from the same fragment with different values of external variables. For example, if the same bolt fragment is inserted into the assembly, but with different diameters and lengths.
For this type of adopting, you need to set a suffix when adopting variables from a fragment. This suffix will be added to all adopted variables after the "@" symbol.
Use the Open Source Document option to open the fragment from which the variable was borrowed.
If you call the Cancel Adopting option, you can break the link between the variable and the source. In this case, the variable will become a normal assembly variable.