repairing a save bodies failure

Discussion in 'SolidWorks' started by david, Feb 13, 2006.

  1. david

    david Guest

    Hi all,

    I was hoping some one could help. I am rather new to SW, so please
    forgive me if I get some jargon wrong.

    I have an multibody part that I used a Save Bodies feature to break out
    the pieces to use in an assembly. It all worked good enough, but I
    needed to make a change or two to the parts. So I edited the master
    part and it still looked good, except I found that the Save Bodies
    command failed (last feature). I think I got in trouble because I did
    not notice that when I redefided the Save Bodies feature that some of
    the bodies were still hidden (which is what I think caused the
    failure). So, on first glance it looked ok and I let it rebuild the
    feature. The result was that the hidden bodies did not get saved.
    Since they were in session in the assembly, when I went back in to
    redifine the Save Bodies feature again, it would not accept the same
    names for the missing bodies. The result was that I had to drop out
    and restart SW, resave the bodies by replacing the original breakout
    files. So I lost all down stream features at that point. Not a big
    deal since it was only a few things in each part, but it could have
    been worse.

    My question is, what is the proper method if any to get the save bodies
    to use the existing references if this were to happen again.

    I hope my explanation was clear enough.

    Thanks in advance.

    Dave
     
    david, Feb 13, 2006
    #1
  2. david

    ed1701 Guest

    I know of no way to resurreuct, and would be interested to learn if
    anyone came up with a trick. The SWx developers know about this
    problem.
    I spent a bit of time on this topic in two of my SWx World
    presentations this year (will be posted to dimontegroup website REALLY
    soon).
    The best, safest, most robust method is NOT to use 'split part' or
    'save bodies' which are easy to break and basically impossible to
    recover from without losing additional features int he child part.
    Instead, start a new part, insert>features>part (selecting the master
    part to insert into the new model), and use a 'delete bodies' feature
    to remove all of the bodies except the one you want in the child part.
    I've been doing this for years and it has ALWAYS been fully
    recoverable, along with other advantages - you get planes, can make
    relations to other bodies before you delete them, etc.

    BTW - in my experience, hiding bodies only screws up 'split part', not
    'save bodies' (which is easily screwed up by other things). Is it
    possible you meant 'split part'?
    In this specific situation I found that rolling above the split part,
    showing the bodies, and rebuilding resurrected everything. I sometimes
    had to close out of everything and reopen in order to repair. But
    still there are so many other, non-recoverable ways to mess up
    split-part (and make files) that the practice is banned in our office.
     
    ed1701, Feb 13, 2006
    #2
  3. david

    david Guest

    Thanks for the advice. I think I will try out you alternate method
    next go around.

    No it's definitely Save Bodies. Knowing it's a problem I will try to
    avoid the practice in the future.

    Dave
     
    david, Feb 13, 2006
    #3
  4. david

    matt Guest


    Well, of course you might get the answer that you're hosed. But that's
    not true, so ignore it if it comes.

    This is my little secret, cuz everybody else thinks you're hosed, so
    I'll only tell you this as long as you promise not to tell anyone else.
    I don't consider this a "proper method". A proper method would include
    fixing the software, but until such future date when that might happen,
    I have a fall back plan (messy workaround):

    - make a part with two solid bodies
    - RMB on the solid bodies folder and Save Bodies to Body Right and Body
    Left
    - open Body Right as a separate part and add features.
    - Save Body Right
    - roll back before the Save Bodies feature in the base part
    - hide Body Right
    - roll to end
    - edit Save Bodies feature, see only one body in the list, hit the green
    check
    - roll before Save Bodies feature
    - show Body Right
    - roll to end
    - edit Save Bodies feature, still only one body, what was Body Right now
    has some generic name
    - change generic name back to Body Right
    - hit the green check, first it asks you to overwrite the existing Body
    Right, but then it tells you you can't because it's still open
    - exit command, close out of the Body Right part window, go back and
    save Body Right and overwrite the file
    - open Body Right on its own. It's missing the features you added.

    you're hosed. this is the point where you are now.

    Try this,

    - before redefining the Save Bodies feature, move Body Right to another
    folder
    - close Body Right
    - now redefine the Save Bodies, creating a new Body Right
    - move Body Right back to the original folder, overwriting the newly
    redefined file
    - open Body Right and hit ctrlQ.
    - Everything should be ok.

    Is this a mess? Yes. Are you hosed? No.

    Good luck,

    Matt
     
    matt, Feb 13, 2006
    #4
  5. david

    ed1701 Guest

    "- before redefining the Save Bodies feature, move Body Right to
    another
    folder
    - close Body Right
    - now redefine the Save Bodies, creating a new Body Right
    - move Body Right back to the original folder, overwriting the newly
    redefined file
    - open Body Right and hit ctrlQ.
    - Everything should be ok"

    That's the kind of thing I was asking for. Nice workaround, Matt.
    That is one of the reasons I am vigilant to never say 'you can't do
    that in SWx' - there always seems to be a way.
    That said, I will stick to my guns that insert-part is the best
    practice for simplicity, stability, and flexibility. However, it's
    nice for the other guys who don't follow this best practice to have
    some sort of safety net, and I am sure they will be grateful to you for
    sharing it.
    -Ed
     
    ed1701, Feb 13, 2006
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.