Skip to main content
14-Alexandrite
May 27, 2024
Question

QML creation : WT part with calculated link and owner link

  • May 27, 2024
  • 3 replies
  • 1598 views

Version: Windchill 11.1

 

Use Case: I want to create the following report : Extract the list of wtparts having an EPMdocument linked as owner and which has a drawing in calculated link


Description:

I don't know how to get the calculated link information between the EPMdocument and the WTpart.

Does anyone have an idea to get closer to this format :

  • wtpart number
  • view (select the desired view)
  • wtpart - latest iteration
  • wtpart - latest version
  • epmdocument - file name - owner link with wtpart
  • epmdocument - version (owner link)
  • epmdocument - file name - calculated link
  • epmdocument - version - (calculated link)
  • epmdocument - iteration - (calculated link)

Regards 

Arnaud

3 replies

17-Peridot
May 27, 2024
14-Alexandrite
May 30, 2024

Thank you for this very useful informations.


From what I read in these documents, it does not cover how to obtain the epmdocument in calculated link. I assume it is not possible to obtain this information?

 

For the moment I manage to:

- list the WTparts having an owner link with an EPMdocument
- Obtain the drawings being in drawing reference with the EPM document which is linked to the article in owner link
- Only show the latest versions/iterations of objects

 

Ideally we should also be able to exclude WTparts having an EPMdocument (drawing) in content link which is the same as the EPMdocument that I obtain by browsing the drawing reference.
Is it possible to exclude WTparts by a condition?

See my diagram below :

ArnaudGOELZER_0-1717078626124.png

AG

17-Peridot
May 30, 2024

Not sure I understand what you are asking for. 

Each part can have several EPMbuildRule links : an owner link to an EPMdoc which holds the CAD, and another EPMBuildRule which is not 'owner' to an EPMdoc which holds a PDF drawing, and maybe another still.

See if you can get the QB working from https://community.ptc.com/t5/Windchill/Finding-WTPart-Relationship-in-CAD-Document-Retrieval/m-p/950131#M80297 then see what non-owner links you can find.

 

Community Moderator
June 24, 2024

Hi @ArnaudGOELZER,

 

I wanted to follow up with you on your post to see if your question has been answered. 
If so, please mark the appropriate reply as the Accepted Solution. 
Of course, if you have more to share on your issue, please let the Community know so that we can continue to help you. 

 

Thanks,
Anurag