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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

IF Diameter SUMMARY

wfalco
15-Moonstone

IF Diameter SUMMARY

Summary of "IF Diameter":

Neat ideas suggested. However - could not get any to work globally.

Responses:

Can be done via JLink (or toolkit). You can also do a search for all
dimensions with 5.18 as a nominal value.
That eliminates the need to pick on the features one by one. But you
still have to change them one by one (but
they would be right there in front of you).

-

Exact syntax for one diameter is this (replace DIAMETER with the
dimension name):

IF DIAMETER == 5.18
DIAMETER = 5.00
ENDIF

-

Pro/Program, find/replace

-

Replace DIAMETER with the parameter that is originally driving the
diameter dimension.

IF p254 == 5.18
P254=5.00
-

You could try using Edit Program, which opens in a text editor, and
replace 5.18 with 5.00. If there are no
dimensions at 5.18 that you want to preserve, just to a mass replace.

In Creo2 it's:

Tools > Model Intent > Program > Edit Design

(Warning, if it's an assembly, you'll need Advanced Assembly to use
this.)

-

Could you edit the model's Program, then do a Find/Replace on the
dimensions, and then apply the changes to the
model when finished editing?




This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Top Tags