Purge assemblies?

Discussion in 'SolidWorks' started by Jean Marc, Apr 6, 2007.

  1. Jean Marc

    Jean Marc Guest

    I must not be alone in this case.

    We have assemblies with lots of configs (some 60+). Those live and
    components (and mates) get added and suppressed.
    Then configs get erased.
    At a point we know there are components and mates that are suppressed in
    every config, and we would like to erase them.
    One solution is going the Excel table way, to check for "always suppressed
    components". Quite a process (need to have an "all unsupressed" config).

    Is there a "purge" command "à la Autocad", or any macro that lists every
    "always suppressed components" and asks if you want to erase them?

    Thanks for reading so far, and for your answers.
     
    Jean Marc, Apr 6, 2007
    #1
  2. I'm not sure if a purge command exist, however, you can setup a
    formula in your excel DT to detect how many parts are used or not.

    =IF(COUNTIF(A1:A20,"R")=0,"Not Used", "Used")

    CountIF returns how many cells equal "R" or "Resolved", use which
    ever. Make sure you range of cells covers everything.
    IF says if there are zero "R" (all supressed), then return "Not Used",
    else return "Used"
    You could put this at the bottom of you design table, just make sure
    you skip a row under the last config.

    Hope this helps!
     
    ShawnApplegate, Apr 7, 2007
    #2
  3. Jean Marc

    Jean Marc Guest

    <> a écrit dans le message de ...


    =IF(COUNTIF(A1:A20,"R")=0,"Not Used", "Used")

    CountIF returns how many cells equal "R" or "Resolved", use which
    ever. Make sure you range of cells covers everything.

    Thanks for the answer, but the idea is: I press a button, and I get a list
    of eraseable items.

    I guess by the echo here, that either is not so much of a pb, or no easy
    solution, or both.
    JM
     
    Jean Marc, Apr 10, 2007
    #3
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.