cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

SQL link between 2D and WTPART

rvanveerdeghem
9-Granite

SQL link between 2D and WTPART

Naamloos.png

Hello,

Does somebody know what the link in SQL is between a 2D drawing and a WTPart? I can't find it.

I tried this:

select epmdocumentmaster.documentnumber, wtpartnumber

from epmbuildrule,wtpart,wtpartmaster,epmdocument,epmdocumentmaster where

epmdocument.branchiditerationinfo = epmbuildrule.branchida3a5 and

epmdocument.latestiterationinfo='1' and

epmdocumentmaster.ida3a6 = epmdocument.ida3masterreference and

wtpart.branchiditerationinfo = epmbuildrule.branchida3b5 and

wtpart.latestiterationinfo='1' and

wtpartmaster.ida2a2 = wtpart.ida3masterreference and

wtpartmaster.wtpartnumber='7033571';

With this I get an empty result, so something is wrong.

Thanks in advance

ACCEPTED SOLUTION

Accepted Solutions

Use EPMReferenceLink

View solution in original post

3 REPLIES 3

If the relationship shows as calculated, there is no direct relationship between a wtpart and a drawing. You will have to link it through the model.

EPMDocument -EPMDocument1(drawing)

WTPart-EPMDocument

Thanks

Pardeep

So then what is the link between a 3d model and a 2D drawing?

This I also don't know.

Thanks again

Use EPMReferenceLink

Announcements


Top Tags