×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Pro Program Replacements

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

RE: Pro Program Replacements

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

RE: Pro Program Replacements

(OP)
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.

RE: Pro Program Replacements

(OP)
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.

RE: Pro Program Replacements

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

RE: Pro Program Replacements

(OP)
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

RE: Pro Program Replacements

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

RE: Pro Program Replacements

(OP)
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

RE: Pro Program Replacements

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources