Selection by color

Discussion in 'SolidWorks' started by Wayne Tiffany, May 19, 2006.

  1. SW2006 SP4.1

    I have imported an assy that has some trash that I don't want, and that
    particular trash is a unique color. Is there a way to filter/select only
    those items that match that color so I can window everything and get only &
    all those items? I've looked a bit but haven't found it.

    WT
     
    Wayne Tiffany, May 19, 2006
    #1
  2. Wayne Tiffany

    Mr. Who Guest

    From UI in 2007 you can show the display states (click on double arrow
    symbol at top of FM near the tabs). From there all the colored
    components (assuming it is a component level color) should show up.
    Then you could control select them all and delete.

    Don't think you can do it from UI, but is definitely possible from API.
     
    Mr. Who, May 19, 2006
    #2
  3. Hmmm, interesting thought. I would have to query the color in question to
    obtain its number and then walk through all entities and delete if the color
    matched. Hmmm.

    WT



    *** ***
     
    Wayne Tiffany, May 19, 2006
    #3
  4. Wayne Tiffany

    Mr. Who Guest

    And by 2007 i mean 2006. Fat fingers.
     
    Mr. Who, May 20, 2006
    #4
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.