Change Part Number as the Material Property changes in Toolbox

How chould one set up the Part Number to change as a diferent material is selected in the custom properties of the toolbox?

SolidworksToolbox