is there a way to fill custom propeties as well as specication properties?

I have made custom properties in a bolt type with the name DIMENSION.

I want the value on the DIMENSION to be the same as the SPECIFICATION or SIZE+LENGTH of the bolt.

can anyone help?
SolidworksGeneral