Variables of Other Parts
It is possible to access variables of any other part within formulas. This allows part variables to be used independently of the part structure. In particular, the variables of a part can be accessed within views.
Example:
The diameter of the ring should depend on the diameter (part variable diameter
) of the shaft.
For this purpose, the ring contains a part variable of type part with the name shaft
that refers to the shaft.
The value of the variable diameter
of the part shaft
can then be accessed in a formula by using shaft.diameter
.
If the ring is now to be mounted on another shaft, only the shaft
variable must be adjusted so that it refers to the new shaft (this must, of course, contain a diameter
variable, otherwise the formula cannot be evaluated).