Skip to main content
4-Participant
June 30, 2023
Solved

Regenerate with existing values automatically

  • June 30, 2023
  • 3 replies
  • 2493 views

Creo 9 user.

 

Is there a way to regenerate parts/assemblies without having to click "Current Vals"?

 

We set up most of our parts and assemblies with Inputs using Pro/Program. It allows us to read text files to easily generate models from "master" models. Unfortunately, this means that every time our top-level assembly is regenerated, we have to click "Current Vals" over 20 times. Is there a function like "regenerate with existing values" or "regenerate without Inputs"? I searched everywhere I could think of but found nothing. I would have thought this was a more common issue.

 

Thank you.

 

Best answer by tbraxton

I am not aware of built in functionality to enable this. The input section of Pro/Program will always trigger the user input for current values.

 

It is possible to add a conditional logic structure via a parameter that will determine if the model should be controlled by Pro/Program but in your scenario, this would be risky as it relies on user interaction to set the conditional flag.

 

The best option IMO is to create a mapkey that confirms the regen with current values 20+ times. This can be a nested mapkey such that you can easily create a version for N # of confirm to use current values. Be advised that the mapkey sequence may be different in part mode vs assembly mode so you may need to generate both and include them in the "master" mapkey.

3 replies

tbraxton
tbraxton22-Sapphire IIAnswer
22-Sapphire II
June 30, 2023

I am not aware of built in functionality to enable this. The input section of Pro/Program will always trigger the user input for current values.

 

It is possible to add a conditional logic structure via a parameter that will determine if the model should be controlled by Pro/Program but in your scenario, this would be risky as it relies on user interaction to set the conditional flag.

 

The best option IMO is to create a mapkey that confirms the regen with current values 20+ times. This can be a nested mapkey such that you can easily create a version for N # of confirm to use current values. Be advised that the mapkey sequence may be different in part mode vs assembly mode so you may need to generate both and include them in the "master" mapkey.

4-Participant
June 30, 2023

@tbraxton Thank you for the reply. I will look into both solutions.

 

I can easily add a Yes/No parameter called "read_input" and put a If statement before the INPUT section. I can also add that same parameter to the input and text file to set it to NO once it is read. That should work.