Where used macro?

Discussion in 'SolidWorks' started by Bas Slijkhuis, Jan 28, 2004.

  1. Hi,

    Does anyone where to find a macro which can write the assembly name in which
    the part is used? This way it would be possible to get a so called "bottom
    up tree". You could also see in which assemblies the part is used.

    Thanks
    Bas
     
    Bas Slijkhuis, Jan 28, 2004
    #1
  2. Bas Slijkhuis

    JJ Guest

    My understanding is that the part file does not actually contain any
    information about the assy or drawing so there is no way to query it, macro
    or otherwise, to find out what files are related to the part. The assy and
    the drawing, on the other hand, do contain information about the part,
    namely the path. This is why you can move (or change) a drawing or assy and
    the part will not ask for a new location (or require an update).

    As Jason said, SW Explorer requires a range of directories when looking for
    "where used" information on parts. It is actually querying each assy and
    drawing file in that range to see if it contains path information about the
    part.

    HTH,

    JJ
     
    JJ, Jan 28, 2004
    #2
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.