Solidworks Modifies Original Files when I change Subassembly in Copy

Hello, I'm having a weird problem with solidworks 2017. I have a large assembly (that contains several subassemblies). I'm trying to use certain parts of it as a mockup in another assembly. What I would like to do:

1) copy the whole original assembly (call it assem1) to another location, so that I can mess around with this copy without messing up the original

2) copy the local copy (assem2) several times (to assem3, assem4, assem5), and delete certain components from each of them

3) combine these modified copies (assem3+assem4+assem5) into their own assembly

I know that I could accomplish the same thing by copying individual components, and redoing the mates from the ground up. However, I'd prefer not to have to do this, because it's just supposed to be a quick mockup, and all the mates I need are already in assem1.

Anyway, so here's solidworks' response:

-If I just delete whole subassemblies from assem3/4/5, everything works fine. 3/4/5 keep their separate modifications, and assem1 remains untouched

-if I delete parts of subassemblies from assem3/4/5 (using the graphic editor), it asks me the following:

I choose "delete selected components", because I want to delete just part of the subassemblies.

-I save, and everything is still working as I would expect at this point. I have deleted some parts graphically from each assem3, 4, and 5, and they all reflect these changes accurately.

-However, when I then make a new assembly with assem 3,4, and 5 together, solidworks starts doing weird stuff. It says it needs to rebuild, and then all the three subassemblies change to one modified state (the components I deleted from one of the three becomes the components deleted from the other two as well). Even more weirdly, these changes somehow snake all the way up to the original (assem1). Before this point, the original has remained unmodified. But after this rebuild, the components deleted in assem3/4/5 are also deleted from assem1.

This behavior occurs apparently independent of the way I copied the original in the first place. Neither pack and go, nor manually copying the files in the explorer protects the original. It even goes through copies of copies.

It makes sense that deleting only certain parts of a subassembly modifies the subassembly file. However, what I don't get is why the changes cascade to copies of that subassembly in an entirely different location. I would have thought that they would only change the subassemblies contained in the file I'm editing, but apparently not. And it's even weirder that it doesn't occur until I put assem3/4/5 in an assembly together.

Any ideas?

SolidworksAssemblies
Answers 6
AL
AL 2021-04-09 Best Answer

Each sub assemblies in each assembly that requires modifying will need to have a different name then the ones inside the other assembly

So say Assembly1 has SubAssembly1 in it, if you want to make Assembly2 with some modifications to SubAssembly1, you will also need to make a new Sub-Assembly, so it would look a little like this:

Assembly1>SubAssembly1>Part1; Part2; Part3; Part4

Assembly2>SubAssembly2>Part1; Part2; Part5; Part4

Assembly3>SubAssembly3>Part1; Part2; Part3; Part6

Etc...


Hope this helps

JS
JS 2021-04-09
<p>No Name wrote:</p><p></p><p>Strange that solidworks doesn't let you have multiple files with the same name in different locations on the system. </p>

It's not just strange,  It's an abomination.  A file in the operating system consists of a path and a filename.  For whatever reason, SOLIDWORKS chooses to ignore the path and only uses the filename to determine the identity of a file once loaded, even though it knows the path (e.g. File...Find References).  It a limitation I've never understood and consider to be one of the biggest flaws in SOLIDWORKS.

NN
NN 2021-04-09

Haha I completely agree--I never knew this before, but it really is terrible design. I was just understating it in case there's some hidden advantage that I hadn't thought of.

AL
AL 2021-04-09

Hey buddy,

Just so you know, you should try and use unique part names/numbers for all of your parts and sub-assemblies.

If you have 2 assemblies named Assembly1, let's differentiate them as Assembly1A and Assembly1B, if you open up Assembly1B and then open up an assembly that has Assembly1A in it, because the names are the same SolidWorks will think that you meant to open Assembly1B.

Best example is this, in a company I helped they had drawn a Dummy model of a person as an assembly so that they could flex arms and legs. Well, one day some guy was working some sort of robot with arms, while working on the robot, he received a call to check a floor layout. In a hurry, he kept his robot opened and opened the floor layout. Upon opening the floor layout assembly, the Dummy model had replaced the LeftArm with the LeftArm of the robot.

Simplified for the dummies : SolidWorks cannot open 2 parts named identically. SolidWorks only uses the part/assembly's name and doesn't keep the file location link in memory.

NN
NN 2021-04-09

The names were definitely the problem. I redid the copying using pack and go, but added a prefix, and now it's not doing the weird change-one-->change-all thing. Strange that solidworks doesn't let you have multiple files with the same name in different locations on the system. I guess this means you can't effectively back stuff up by just copying the folder, unless you put it somewhere solidworks doesn't have access to (like a flash drive or another computer).

Anyways, pack and go+prefix works.

Thanks!

GS
GS 2021-04-09

From what you said I'd guess the sub-assemblies, even though they're in different locations, still have the same name.  That will always cause problems, especially if they're used in the same Assembly.  Have you considered having only one sub-assembly with multiple configurations, with components suppressed in configurations as needed, and reference whatever configuration is appropriate for each instance of the main assembly?  That should eliminate the problem.