Skip to main content
1-Visitor
August 21, 2020
Question

Search Workspaces in Windchill

  • August 21, 2020
  • 4 replies
  • 2753 views

I need to look for duplicate models in my different Workspaces. How can I search all of my workspaces using Windchill.

    4 replies

    22-Sapphire I
    August 21, 2020

    The only real answer to this is a query builder report that lists objects in workspaces.

    1-Visitor
    August 21, 2020

    Thanks how do I do that?

    22-Sapphire I
    August 21, 2020
    18-Opal
    August 21, 2020

    A tool could be written that searches all WS and returns all objects that are in more than one WS along with the WS that the objects are in.

     

    Duplicate could be defined as:

    same numbers

    or

    same number and revision

    or

    same number revision and iteration.

     

    18-Opal
    August 24, 2020

    I did write a tool to do this.

    I'm running from a Windchill shell as this is just for testing.

    d_graham_0-1598281664390.png

     

    18-Opal
    September 17, 2020

    I improved my earlier post a bit.

    I passed the output of the code I ran to a Report.

    This makes it easy for everyone to access.

    Here's the output when run from a Windchill Shell

    d_graham_0-1600351603801.png

     

    The report's input Username defaults to the current user but is editable.

     

    d_graham_0-1600347974462.png

    Here's the output when displayed in a Report.

    Displays all EPMDocuments that are in more than one of the user's WS along with the WS name.

    d_graham_1-1600348237930.png

     

    David