Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Saving

bob_dylan

New member
Hi everyone.
I am a novice to Pro/E and I am having a problem with saving, because I dont think I really understand the whole philosophy of saving in ProE.
Lets imagine a situation where I create 2 or 3 simple parts + assemble them + save the assembly.
After doing a couple of changes i want to save it again, but I cant just SAVE it, i have to do the back , which saves me all of the parts again, right?....which means after working on this assembly for couple of hours or even days there is going to be 50 parts n.1 + 50 parts n.2 + 50 parts n.3. in my directory. On one side thats cool because i can use the old version of a model( for example part1.prt.24)later on but i dont really have that much space on my hard disk to keep there so many "useless" parts(old versions of parts).
Then i will start creating the drawing documentation...I will save a drawing, but after doing couple of changes in the drawing I can again only do the backup, which means that there is going to be another "useless" version of the part on my hard disk...
My question is how can i easily delete the old versions of a part(I am not sure how the FILE>DELETE>DELETE OLD VERSIONS(ALL VERSIONS) thingy works..
smiley18.gif
.) or is just my way of saving parts, assemblies wrong...
smiley2.gif
?
Thank you.
Bob_DYLAN
 
thats just the way it goes


i have a mapkey called save and purge so that way while im saving it purges the old parts


!=========================================================== ================


mapkey $F1 @MAPKEY_LABELSAVE AND PURGE;\


mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `File`;\


mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;~ Activate `main_dlg_cur` `File.psh_save`;\


mapkey(continued) ~ Activate `file_saveas` `OK`;~ Select `main_dlg_cur` `MenuBar1`1 `File`;\


mapkey(continued) ~ Select `main_dlg_cur` `File.cb_file_erase`;\


mapkey(continued) ~ Close `main_dlg_cur` `File.cb_file_erase`;\


mapkey(continued) ~ Select `main_dlg_cur` `File.cb_file_delete`;\


mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\


mapkey(continued) ~ Close `main_dlg_cur` `File.cb_file_delete`;\


mapkey(continued) ~ Activate `main_dlg_cur` `psh_purge`;;


!=========================================================== ================
 
Yes... From inside Proe you can delete ALL duplicate files within your working directory. At the top of proe click on " window / Open system window "


The cmd box will show your directory path.. Type PURGE at the end of your directory path, press enterand then close this box.. All duplicate files should be erased.


Not sure about WF, but this works for 2001.


Hope this helps


Taz



Edited by: tazbaby
 
I use WF 2.0. I have tried to get into the habbit of " everytime I open and play with a part or assembly, I try to remember to click Delete Old Versions every time". This gets rid of all the older (**.prt.24, 25 26 )etc. This keeps your HD pretty clean, if you forget to do it occasionally it doesnt matter, you can always delete older versions next time.
 
Use the config.pro option:

save_objects changed

That way Pro/E will only save objects that you have modified. Unchanged objects will not get saved again.
 
"My question is how can i easily delete the old versions of a part(I am
not sure how the FILE>DELETE>DELETE OLD VERSIONS(ALL VERSIONS)
thingy works."

Just for the record, Delete Old Versions will remove all but the newest version from disk. Delete All Versions does just what it says. There is a confirmation request with Delete All warning you that data could be lost.
 
I just use the purge.bat file that is located in the wildfire directory. The bat file is located in the bin directory under the wildfire directory. This is the bat file NOT the .exe file. I typ. copy this file to my destop and then change the properties so the the file is looking at my pro-e working directory. This has worked well for me the last 10 years. Please be aware that this will remove all of the old parts for your directory.
 
Here is a way to add Purge to the menu of the right mouse button in windows explorer.


Run regedit
move to
HKEY_CLASSES_ROOT\Folder\shell
right-click on 'shell' & create new key 'Purge'
right-click on 'Purge' & create new key 'command'
click 'command' & in the left window, right-click 'Default' and modify
in Value data type
C:\windows\system32\cmd.exe /c cd "%1" &"C:\Program Files\proeWildfire 2.0\bin\purge.bat" *
enter & exit registry


This assumes a default setup of windows & proE.
 
Interesting tip Robert, never thought of doing it that way before but I think I would still prefer Spekan Purge.





save_objects changed



should also be used in conjunction with



override_store_back no



when dealing with read only parts







Does anyone else see the problem here.



bob_dylan said:
but i dont really have that much space on my hard disk
to keep there so many "useless" parts(old versions of parts).



Once you have than about 30% free space on a disk it starts getting
seriously fragmented and you won't have the space to defragment it.
If you are nearly out of disk space you can cripple a PC with hard
drive activity.



Clean out the rubbish and get another/bigger hard drive



DB


Edited by: Dell_Boy
 
somehow purge is seen on all drives and you don't need such a specific pointer.


i have C:\windows\system32\cmd.exe /c cd "%1" &"purge" * working just fine.


There are many ways to purge as everyone has said, but getting a bigger HDD is really the best advice to you. If you are doing CAD as just a passing hobby, then you may have a student or crack ProE running on whatever machine you had at home. If you are doing CAD for profit at a job/company, buying a proper HDD is a no-brainer for any company. I hate to preach, but don't use a student or crack for any profitable work. Some will preach to never use a crack even if its only for training or satisfying a facination.


Dave
 
Dave,



The reason your one works is that



"C:\Program Files\proeWildfire 2.0\bin"



is appended to your "path" environmental variable when you install
Pro/E.



Abbreviating it as you have done is not a good idea because if
you happen to have another executable called purge higher up in the
"path" list e.g. your system32, Windows or some other "pathed" folder, that purge
will be executed instead.





DB



Edited by: Dell_Boy
 
I have a way that deletesold versions of ALL parts, assemblies, drawings, and the NC files created from Proe witnin the "current working directory".


On the top tool bar, select TOOLS then MAPKEYS. When the mapkey window opens, select NEW. For the key sequence, I entered "PP" without the quotes. In the NAME box, enter PURGE. Towards the bottom of this window, select the "OS Script" tab. In this window, enter "PURGE"without the quotes.Select "SAVE".


Now, all you have to do is type "PP" anytime you want to delete all of the older versions of everything in the current working directory. You don't even have to have an open file to do this.
 

Sponsor

Back
Top