Variables can be used with the following expression:
partname@variablenname
Example:
RZ500@D
or with calculation
RZ500@D-RZ500@D1