Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello everyone, my name is Raul and I have the following issue:
I have a whole bunch of drawings that need to be updated with the current year value. Currently we manually create the parameter and type the value.
I would like to create a parameter with the value of the current year. My idea is to have a button where I can obtain that value automatically and assign that to a parameter.
I'm currently trying to get that from a user program, my problem is that I'm not really good at it. Do you guys have any guide or best practice I can use to improve my knowledge on C programming linked to Creo?
Any ideas are more than welcome, thanks a lot in advance!
Regards
@RV_5074063 wrote:
Hello everyone, my name is Raul and I have the following issue:
I have a whole bunch of drawings that need to be updated with the current year value. Currently we manually create the parameter and type the value.
I would like to create a parameter with the value of the current year. My idea is to have a button where I can obtain that value automatically and assign that to a parameter.
I'm currently trying to get that from a user program, my problem is that I'm not really good at it. Do you guys have any guide or best practice I can use to improve my knowledge on C programming linked to Creo?
Any ideas are more than welcome, thanks a lot in advance!
I would recommend using the jlink (java) api for this task. PTC has several examples that include adding menu buttons and creating/setting parameters.