cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Regenerate with existing values automatically

TG_10187670
4-Participant

Regenerate with existing values automatically

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions

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.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

View solution in original post

3 REPLIES 3

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.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
TG_10187670
4-Participant
(To:tbraxton)

@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.


@tbraxton wrote:

The input section of Pro/Program will always trigger the user input for current values.


This is not entirely true. Creo will only prompt for user input for parameters which are NOT driven by EXECUTE statements.

 

Example 1

Main Assembly with INPUT parameters WIDTH and HEIGHT (and NO execute statements)

Sub Assembly with INPUT parameters WIDTH and HEIGHT

 

If you regenerate the Main Assembly, Creo will ask for the input parameters of both the Main and the Sub Assembly. If you have lots of Sub Assemblies with input parameters, you will be clicking "current values" 20+ times.

 

Example 2

Main Assembly with INPUT parameters WIDTH and HEIGHT

Sub Assembly with INPUT parameters WIDTH and HEIGHT

 

Main Assembly has an EXECUTE STATEMENT to drive the input parameters of the Sub Assembly

 

Execute Assembly "Sub Assembly"

WIDTH = WIDTH

HEIGHT = HEIGHT

End Execute

 

If you regenerate the Main Assembly, Creo will ONLY ask for the input parameters for the Main Assembly. The input parameters for the Sub Assembly are driven by the execute statement.

Top Tags