Skip to main content
8-Gravel
April 12, 2024
Solved

How to update Creo session parameter values

  • April 12, 2024
  • 1 reply
  • 1521 views

hello.
Currently, through customization, the user runs the service upon check-in, and the number and file name are changed. However, creating a parameter and inserting a value is not reflected in the creo session parameters.
Is there a solution?

Best answer by HelesicPetr

Hi @YJ_10068754 

As I said, No. 

{edited} The information about the active workspace is in the workgroup manager not in the Windchill. So you can not get this information from the Server side. 

You could use a Creo Toolkit VB API in the Creo and create some action for that. https://www.ptc.com/en/support/article/CS415452

 

A Creo does not know about the change on the server side, and only the synchronization checks the changes.

And Windchill can not run the synchronization on the Creo session. 

 

Synchronization is automatically done on some specific actions as a save or open in the creo session and based on time period.

 

PS: you are trying to do something that PTC can not do. 

I remember one customer that has a custom change process with custom check-in change wizard, and after check-in the new objects were updated by server with new numbers.

A user always had to use the synchronize function after that. During a training they ask why so important function can not be automated or highlighted in a ribbon  

Answer was because developers can not do it. The software does not support that behavior.. 

 

PetrH. 

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
April 12, 2024

Hi @YJ_10068754 

Yes, user has to use synchronize function in the workspace.

HelesicPetr_0-1712910916261.png

This function updates the attributes in the local workspace and allows user to update Creo session.

HelesicPetr_2-1712911068877.png

Yes user has to do it manually.

 

PetrH

8-Gravel
April 14, 2024

Is there a way to solve this problem through the API without the user having to do it manually?

HelesicPetr
22-Sapphire II
22-Sapphire II
April 15, 2024

Hi @YJ_10068754 

On Windchill side, No. 
PetrH