Skip to main content
1-Visitor
Aug 21, 2020 4:22 PM UTC
Question

Search Workspaces in Windchill

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

    6 replies

    22-Sapphire I
    Aug 21, 2020 4:25 PM UTC

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

    Translate
    1-Visitor
    Aug 21, 2020 4:26 PM UTC

    Thanks how do I do that?

    Translate
    22-Sapphire I
    Aug 21, 2020 4:43 PM UTC
    18-Opal
    Aug 21, 2020 5:11 PM UTC

    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.

     

    Translate
    18-Opal
    Aug 24, 2020 3:10 PM UTC

    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

     

    Translate
    18-Opal
    Sep 17, 2020 1:15 PM UTC

    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

    Translate