Search many SW-files for a dimension

Discussion in 'SolidWorks' started by Barry, Apr 22, 2004.

  1. Barry

    Barry Guest

    I have a particular dimension, that I use in many parts.

    Now this dimension has to change just a little - so to make sure I get all
    the instances updated I would like to make a directory "search" for this
    dimension.

    Is that possible?
     
    Barry, Apr 22, 2004
    #1
  2. Each file would have to be opened and then searched for your dim.
     
    Corey Scheich, Apr 22, 2004
    #2
  3. Barry

    Barry Guest

    OK - how do I do a search for a dim in a part?

     
    Barry, Apr 22, 2004
    #3
  4. Have a look at our cadDoc tool (http://www.dynabits.com/caddoc/index.htm)
    which exports model data as XML.
    The files contain a table of all features with dimensions, that you could
    search in Explorer or with a simple text editor.
    (chek
    http://www.dynabits.com/caddoc/samples/Complex Food Tray.SLDPRT.xml for
    a big one)
    The tool currently export full assemblies, but I planned to add the
    capability of documenting entire directories.
     
    Philippe Guglielmetti, Apr 22, 2004
    #4
  5. Look up

    ModelDoc2::parameter
    also
    Feature::parameter

    in API help

    There is an example in the help. You may need to recurse the features of
    your model to get all the dimensions with a specific name. I don't know if
    there is an easier way.
     
    Corey Scheich, Apr 22, 2004
    #5
  6. Barry

    rocheey Guest

    In the remote possibility that you use external design tables, an
    Excel macro, working behind SW's back, would work a lot faster
     
    rocheey, Apr 23, 2004
    #6
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.