I have a hydraulic cylinder assembly that I renamed; it is part of a main assembly. Is there any way to switch out the cylinder to the identical renamed cylinder?
Do this all the time, with new revisions of part(s) in an assembly and also new revisions of sub-assemblies in assemblies. It's best to do this before you make any design changes to reduce the things that will need to be fixed initially.
I typically save out a copy of the file as a new rev or name, open the new file (saves some time during replace component process as opened files show in a selection box vs. navigating to the file location), go back to assembly that need the new named file, right click on this file in the assembly, click down arrow at bottom to expand/scroll further, then click on "replace components" in the fly-out menu and go thru a few steps or selections to replace the old file with the new file.
This is changing like for like, your ask may work for this or may not, I'm not 100% clear on your intent. If this isn't aligned with what you want, then look right click on your sub-assy and click on "dissolve subassembly". I don't use this option, like ever, so practice on a dummy file or research a little to get it's behavior and quirks sorted out prior to pulling the trigger.
Thanks for the "Dissolve Subassembly" pointer. I've been thinking there should be a way to do what that command does, but hadn't heard of it.
I'm not entirely clear on what you need to do. If you have cylinder.SLDASM and want to replace it with a different cylinder.SLDASM (I'm assuming these are in different file locations). I would change the references while opening the top level assembly.
Pick the references button when you go to open the assembly.
That will bring up a window where you can pick the new file and location.
Sounds like you may want the "Dissolve Subassembly" command that Jesse Robbers mentions above.
Retrieving data ...