I have one folder with 13 different "main assemblies" I need to move each main assembly's all drawings to another folder. Using Pack and Go does copies the drawings to the new folder but they loses all references.....
tray to use SW Explorer,u hew there many options.
Hi Antronio, My experience is that the SW explorer is very limited and slow and can only handle one file at the time. I might be wrong though. Please guid me.I have 2400 files i have to sort out today.
I did gamble on that Pack and Go wopuld work, but it doesn't work..
if i need to remove or rename i hew 1-20 files max that is why i can use it..
for many parts i know only to copy all files in new folder and then move all drivings in another folder.parts and assembly i do not know how to separate,sorry
nice day,hope u get its
i found something,do not know hew u done its that way,hope it can help in future..SolidWorks Pack and Go overview - YouTube
Renaming Multiple Files in SolidWorks 2010 - YouTube
I am thinking that if you pack & go to the same folder the links will stay and then move the folders - I have issues where the links don't break and it keeps referencing back to the original assembly. All of my pack & go I want the links broken and last week I did the pack & go to my document folder and then moved it, seems to work on my end, so if you do opposite it should work for you..
The problem is that i don't want the drawings in the same folder. I want to move the drawings to a drawing folder, and let the models stay in the model folder.
Regarding stobborn links, Toolbox parts links are impossible to brake regardless if you "save as" it as a copy while the assembly is open or pack and go, the assembly will always look for the files in the toolbox folder if it is available. If not, it will use your saved one. But make the toolbox available again and it will take it from there. I have been fighting with this the half the day today. Even "make independent" does not kill the link to toolbox, nothing does.
I had understood that you want the files in a separate folder, however to retain the links I am assuming you need to do the pack and go in the same folder and then organize them the way you want it, again to retain the links same folder, break the links different folder, preferably different drive.
edited - That's another reason for me not to use Toolbox
I can do this. But if i move the whole mainfolder including ALL files and folders to let say USB-stick, the links will break again.
Took me about 15 years to become decent frind with Toolbox, but it still play tricks with me.
Peter Persson: Hi John, The problem is that i don't want the drawings in the same folder. I want to move the drawings to a drawing folder, and let the models stay in the model folder. Regarding stobborn links, Toolbox parts links are impossible to brake regardless if you "save as" it as a copy while the assembly is open or pack and go, the assembly will always look for the files in the toolbox folder if it is available. If not, it will use your saved one. But make the toolbox available again and it will take it from there. I have been fighting with this the half the day today. Even "make independent" does not kill the link to toolbox, nothing does.
It's not at all difficult to break the Toolbox links. See #5 here: Frequently Asked Forum Questions .
If you relocating only a drawing files, this not causes a problem.
The reason is that SolidWorks keep a link between drawing and part(assembly) only in one direction - from drawing to part (assembly).
Until you don't change part or assembly location or file name, everything has to be OK.
Not here anyway. I move drawing files from "All 3D-Models" folder to Machine-1\Mechanical Drawings, see below, will kill the links and open drawing with only empty squares.
Did you move 3D models also?
If you move 3D models SolidWorks will lose the link, If you move only drawings it will work.
I did that many times before.
Tateos is correct. If you move the drawings only and don't move the parts then the links will stay. DO NOT do pack n go. Simply move the drawing file in windows explorer from one folder to the other and it will keep the links to the models.
Open a new assembly. Dump all the 13 assembly files you want to move into the new assembly and save is as TMP. Do a pack and go without drawings and save the copies to what ever folder you want. Now copy all the drawings in windows explorer to the new location (the drawings will still have the references to the old files).
Now open the copy of the TMP assembly and leave it open. Open each drawing from it's new location and save it. The drawing will reference the assemblies currently open and after save all your references point to the new location.
If you want to manage it automatically, Get a simple macro that opens & saves all drawings from a certain folder (available on this board) and you should have saved yourself some time.
Maybe I am a little wet behind the ears. Open the drawing in SW. Do a Save AS, choosing the new folder location. Wola! Done.
Then go back to the original drawing location and remove/or move it. Go to the drawing created by the Save As and open. All your references/links should be good. Worked for me.
To simplify your scenario, all you need to do is move the drawings with windows explorer into new location and you are done. No open and save required, since the drawings will maintain the references to the original assembly.
Peter, this is the main reason for using a PDM or PLM system. There are a few questions though.
Are you the only user? What Tateos said about drawings is true, but it will only remember the last saved location, so depending on how they were stored to how they are moved and who opens them, it could have unexpected results.
You're now in a tough spot and if you HAVE to move all these files, I see 2 options.
Move them in all into the same folder, they will find the references. I know this is not what you want to do, but if you want everything to find it's references then you may need to do this step. The second method, which is kinda crazy would be to add all the locations to your "search paths" tab in File Locations under System options, however this is not what this is meant to do and you would have to do this for every users and would only be a Band-Aid.
If you have SOLIDWORKS Professional, you already have a PDM system for free!! I would highly recommend using one!
Sadly I do not have the Professional, I have an old DBWorks PDM though that im trying to dust off at the moment. But the support is slow and i get some errors.
EDIT: Im the only user
Depending on the scope of the assemblies (how many cross-references there are), I've found it simple enough to just move the files, then open the top level/drawing through the File Open dialog and use the "References" option to modify.
2016 SOLIDWORKS Help - Open Dialog Box
It's really important to save the files properly after you do this, since the external references will NOT change permanently until you save the files. It CAN be fairly straightforward, but I've seen the technique fail (spectacularly) when people don't have writing privileges to a file that has changed references.
Add your model folder to the Referenced Document location. Problem Solved.
You can literally drag and drop your drawing files from windows explorer.
All of your files will look at this location first before looking in the same folder. So if you name files like bolt, flange, screw, don't use this. If you name files that are unique and never duplicated on your machine then use referenced document to that folder location.
Oboy so happy i thought i would be.... But no it did not work either
You need to open your drawing and look at the references of your drawing.
To be clear, you are losing the file reference. You have to browse for the file like in the picture? If this is so click browse go to your models folder and click the file you think is part/assembly file for the drawing. See if SolidWorks will open the drawing views now or give you an error.
Yes it is grayed out. How did you got this window to open? I only get one when trying to open the part from the drawing. Browse for the file just opens the part without affecting the drawing...
I am opening it up from the drawing. You can either right click the box or the Drawing view to open it.
Open up your original drawing file in your model folder and click file and find references. Double check to make sure you didn't cross anything up and every reference is to the model folder.
Even if you do a simple "save as" on the drawing and spit it out to your desktop does it loose references? If so hit Ctrl Q on your original drawing to make sure your drawing isn't locked up and you are starting with a bad drawing to begin with.
I just open and browses for the part, it seems to solve all other drawings problems as well. I could also see that the file/find references are intact but still no views. Ctrl-q does not solves the drawing views, But the drawing header's information updated correctly.
Peter Persson: I could also see that the file/find references are intact but still no views. Ctrl-q does not solves the drawing views,
I could also see that the file/find references are intact but still no views. Ctrl-q does not solves the drawing views,
Right click on the view and select show.
ah missed that. or a redraw ?
Save as, to anywhere works just fine.
and you know if you copy and paste the drawings somewhere else you will lose the references. This is normal behavior. You have to use Sw Explorer, Pack N go, Save As, or the Referenced Document location.
I am still confused on how the referenced document location didn't work if you are using the browse for components and opening them up in the same location. It's literally the same thing.
I'm out of ideas. Something screwy is happening. If you can reproduce the problem with a smaller assembly and 1 drawing I would upload those 3 files or so for others to look at.
Yes, but WHY? The drawings clearly has the model address stored in it, so it should be possible to move and copy it anywhere as long as it within to reach the stored model address. But of some reason the address gets deleted, why is deleting the stored model address necessary?
PacknGo does not work on drawings though, if not together with the models.
Ok I should restate, not all the time. Yes sometimes you can....it really just depends.
This is a good read on the order of how SW looks for files.Search Path Order for Opening Files in SOLIDWORKS
Also this guy has something similar to what your facing and Deepak's Macro fixed it.Missing drawing views - no broken references
If you can't reproduce the problem with a drawing and one part file to share here, I would contact your VAR so someone can look over your files. It may be a bug where you need to reload SW or fix the registry.....
I suggest using a PDM to manage your files.
Simplest thing I've found is to do a Save As.
Solidworks gives you 3 options so you have to be careful.
Open each part then File > Save As
Option 1 - Save As - will save the file to the old name or new name and a new location maintaining references and links bumping the old file out.
Option 2 - Save As Copy and Continue - Puts the new file in a new location or with new name, the old file will still be open to be worked on and still be the referenced file.
Option 3 - Save As Copy and Open - stores the file with a new name/location and opens it. The new file will have the same references and links and be opened for work. The old file will still be referenced by previous work. From Solidworks help, "Saves the document to a new file name that becomes the active document. The original document remains open. References to the original document are not automatically assigned to the copy."
You will want to use Option 1. This will park your files at the new location and the assemblies built on them will be replaced with the new file. Then you can go back and delete the old files.
It will take some time but will be better than moving the files in bulk then going into them and fixing the links.
Retrieving data ...