Skip to main content
17-Peridot
May 24, 2022
Solved

Creo Version In Parameter

  • May 24, 2022
  • 1 reply
  • 5632 views

Does anyone know of a way to automatically show the Creo version (3, 4, 5, 6, 7,...) as a parameter?

We implemented the values in param values list, but that is a manual step for the users to change when we go to a new version. We also have it set in our start parts as well as our Windchill templates, but that is a change we will have to do every time we go to a new version. 

We are trying to be in compliance to ASME Y14.47 and  14.41

 

Best answer by Mahesh_Sharma

Hi @BenLoosli 

 

Set the config MC_GET_VERSION_FROM_META_DATA YN Y in config_init.mc and test the issue. After setting this I am getting the values correctly. 

 

Thanks. 

1 reply

tbraxton
22-Sapphire II
22-Sapphire II
May 24, 2022

I am pretty sure you will have to use one of the API programming tools (toolkit, Jlink etc.) to automate this. Unless it has been added in Creo 7+ an internal parameter accessible by the UI for the software version has not been available previously.

llie17-PeridotAuthor
17-Peridot
May 25, 2022

I even tried this PTC article without an success in Creo 7.0.4.0

 

https://www.ptc.com/en/support/article/CS352759

How to create a parameter with value as result of check "PRO_VERSION" in ModelCHECK

 

I guess it is time to open a PTC case.

Mahesh_Sharma
22-Sapphire I
May 27, 2022

Hi @llie 

TO make it working, ADD_CHK_PARAM in appropriate check file needs to set as Y and in respective start file add PRT_ADD_CHK_PARAM VERSION PRO_VERSION

 

Thanks