export version number as custom attribute

Is there any way to establish a link between a solidworks custom attribute and the file version in E-PDM?

SolidworksSolidworks Pdm enterprise Pdm