Pro Program Replacements
Pro Program Replacements
(OP)
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
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





RE: Pro Program Replacements
-Hora
RE: Pro Program Replacements
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.
RE: Pro Program Replacements
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.
RE: Pro Program Replacements
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
RE: Pro Program Replacements
Thanks
RE: Pro Program Replacements
Are you trying to SAVE AS only the top level or other sub-levels?
-Hora
RE: Pro Program Replacements
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
RE: Pro Program Replacements
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