How to replace a component in assy with copy tree

Hi,

Is there 1-step a way to use Copy Tree (or another function) to replace parts in an assembly with a new copy*, without making a new copy of the assembly. Bonus points awarded if it can be done with the assembly open & checked out.

(*including generating a new part number that's inserted into the file name and data card)

I know how to do this in multiple steps

  1. Check in Assembly
  2. Use Copy Tree to generate the new parts, only ticking the parts you need copies of.
  3. Check out the assembly.
  4. Use Replace Component on each original component to swap it out for the new copy.

This can be somewhat tedious, especially when doing it to multiple parts, so the path of least resistance for our uses may be to copy everything when using Copy Tree the first time. I'd like to discourage that, as we already have a big enough problem with unnecessary copies of various parts.

We're currently on 2017, but planning an upgrade, so I'd be interested if any newer version can help.

Apologies for this slightly speculative question!

Sandy

SolidworksSolidworks Pdm/enterprise Pdm
Answers 7
MD
MD 2021-04-08 Best Answer

I wonder if the Branch & Merge function added in PDM Professional 2018 would help you.

FG
FG 2021-04-08

Hi Sandy,

looks like you may benefit from DriveWorks (either Solo or Pro) to make permutations like that. you can use tasks to insert components like legos into a master assembly. if driveworks detects that a file generated exists, it uses that instead of making a copy. I would reach out to your VAR for a demo. if you do reach out to your var, ask them to show you generation tasks from the driveworks advanced training  (so they can know what setup I'm talking about)

good luck!

Francisco | CSWS-DMA

GoEngineer

AN
AN 2021-04-08

That's correct. It's a very convient way to replace a component with a new one, based on the existing one.

SS
SS 2021-04-08

OK, I didn't know about that. If I've read that correctly, is it like doing Save As on a part while an assembly containing it is open, but only for specific instances of the part?

AN
AN 2021-04-08

Hi Sandy,

you could use "make independent", activated from the feature tree in the assembly itself.

You will be prompted to save the part as a new one (you can use PDM serial number generator if needed), and the part will be saved AND replaced in the assembly.

2019 SOLIDWORKS Help - Saving Component Instances as New Files 

BR 

Arne

SS
SS 2021-04-08

I found a fairly convenient way to do this for 1 file.

The "Automatically name new files on Save As" option in Solidworks -> Tools -> Solidworks PDM -> Options can be turned on (when logged in as Admin), which gives the file a name from the Serial number generator. Somehow this makes it into the data card as well.

SS
SS 2021-04-08

Thank you, that looks like it might have some of the tools to do what I want. I'll have to investigate after upgrading.

That demo doesn't' look ideal (assembly stays checked in the whole time, so still references the original, rather than the changed part), but I'm sure there are more options available than you can showcase in a 1 minute video.