A lot of customers have asked how they can set the version of a design in one location and have the version number populated to all the design sheets and artifacts.
I have attached the class file and java file so that you can test / modify the example.
If you do not have a java directory set up then do the following
1) Create a directory and save the files to the new directory
2) Create an environment variable client_classpath and set the value to your new directory
3) Restart Creo Schematics
How to use the java function for design sheets
1) From the Design explorer open the sheet properties of a design sheet and add the parameter Version with a value of A.1 (you only need to do this on one design sheet)
2) For each design sheet, add a sheet label with the format {DeriveFromSheet.findVersionOnOtherSheet()} - Notice the label is reporting A.1
3) Edit the sheet properties of the design sheet that has the parameter Version applied to it and change the value from A.1 to A.2
4) Choose update labels and notice the design sheet label now displays the new version A.2
How to use the function with artifacts
1) From the Global Parameters, Select Parameter Version and Select Modify
2) From the Parameter Definition dialog select Define Function
3) From the Define Function window set the Function name to {DeriveFromSheet.DesignSheetVersion}
4) Close all the windows by choosing OK
5) Edit the properties of a placed item on the sheet for example a connector and add the parameter Version
6) Check on Calculated value Notice A.2 is displayed .
7) Change the version value to A.3 on the design sheet and choose update labels. Notice all the sheet labels and the version parameter on your selected artifact now reflect the new version number.
Enjoy!