Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pro Program Replacements

Status
Not open for further replies.

allainmfg

Mechanical
Jan 15, 2007
20
Hi,

I programmed a conveyor to be parametric based on some parameters. I used relations and also pro program to suppress/resume some components and assemblies. When I try to save a copy of the conveyor, because I used pro program, pro-e ask me to choose between disable replacement, remove replacements and allow replacements. If I click allow replacement, pro program don't allow me to modify the conveyor with the parameters. If I click remove replacements, pro-e remove the programmation in pro program that allow to interchange parts or assemblies with family tables instances. The only way I found was to choose disble replacements but I need to open every parts or assemblies that has a program in it to enable the replacements so that pro-e can interchange parts and assemblies. Does anyone know a faster way to do what I want ?

thanks
 
Replies continue below

Recommended for you

When you perform a SAVE AS A COPY, assure all the parts in your assembly are active. You'll avoid a bunch of problems. Add aparameter in your assembly to have all components resumed.

-Hora
 
Hi Hora,

The problem is not with resumed components, it's with the program itself. Let's say that I have the following command:

ADD PART XX
INTERNAL COMPONENT ID 192
END ADD

and I add

IF CONVEYOR_LENGTH>200
COMP = "XX1.PRT"
ENDIF

in my relations

and then I changed

ADD COMPONENT (COMP)
INTERNAL COMPONENT ID 192
END ADD

if I make the save a copy, and click remove replacements, pro program will remove the 'ADD COMPONENT (COMP)' and will replace it by 'ADD PART XX'

So I need a way to avoid that or a way to enable all replacements after the copy is made if I click disable replacements.
 
Hora,

First of all I should tell you all the story for better understanding. All the parts or assemblies that gave me problems are not in the working directory, they came from another one on the server and are mostly family tables. When I do a save a copy I would like that theses standard parts does not appear in the Assembly Save A Copy window but I don't know if it's possible. The problem is that pro-e will copy thoses parts or assemblies with the newly copied assembly and I need to go in the folder and delete theses standard parts and assemblies because I want pro-e to pick them up in the folder on the server and not in the working directory.
 
Your problem is in the relation section:

IF CONVEYOR_LENGTH>200
COMP = "XX1.PRT"
ENDIF

A SAVE AS will never replace the "XX1.prt" with the new name you'll be given to your part.

-Hora
 
The part XX1 will never change of name because theses are standard parts or assemblies and the came from another directory than the working directory. That's why I don't rename theses parts or assemblies and that's also why I would like that pro-e don't copy theses parts or assemlies at all with the new copy because pro-e needs absolutely to recoverd theses parts or assemblies from the other directory.

Thanks
 
In SAVE AS procedure if you instruct Pro/E to use the existing parts except the ones you want to change , will copy the existing parts as well?

Are you trying to SAVE AS only the top level or other sub-levels?


-Hora
 
Yes, pro-e will copy theses parts or assemblies in my working directory because they came from another directory but they are in the model so he copy everything that is in the model.

I want to save and rename the top assembly and all the subassemblies and parts that are in my working directory but I don't want to save and rename all the parts and assemblies from the other directory

thanks
 
I see. There is no magic in doing what you need, but try this (depends on how many parts are assembled in your assy):

When youperform the SAVE AS routine, then put the "000-" in front of your renamed parts. Let the other untouched.

Then look in windows and ask it to arrange the files in ascending order. Delete the files withour "000-" prefix.

Load the assembly in memory and RENAME the "000-" prefixed parts to the real name (in fact remove the prefix) and SAVE the assembly. This should work.

It's up to you to judge if you'll go with something like this (or similar). For 10-20 parts will be OK. For 100 and more, maybe not.

-Hora
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor