I have a set of test files with a simple assembly structure. Assembly ABC.sldasm contains A.sldprt, B.sldprt and C.sldasm. The assembly C.sldasm contains D.sldprt and E.sldprt. Parts A and D have drawings. Assemblies ABC and C also have drawings. All files are stored in the same folder in the vault. Everything is checked in. If I open ABC.sldasm, the EPDM tree looks like this:
All appears to be well. However, if I attempt to check out the assembly, model A.sldprt and its associated drawing A.slddrw do not appear in the checkout dialog:
Similarly, the contains tab for ABC.sldasm does not show A or its drawing:
In SolidWorks, File...Find References shows A.sldprt:
As does the 'References' button from the File...Open dialog:
The EPDM Copy Tree function, however, shows no sign of A or its drawing:
Yet when I open the copy (which was placed outside the vault), it is pointing back to the original in the vault:
I am convinced that EPDM 2016 has one or more fundamental flaws with reference management that were not present in 2015. I have been using this same set of test files for 4 years with no problems until EPDM 2016. This is the second odd behavior I have noted. The first can be found here.
SolidworksSolidworks Pdm enterprise Pdm
I'm curious if the info every got into the database, mind running this query it will output everything for every version:
with xrefsrec as
(select documentid, RevNr, XRefDocument, XRefRevNr, 0 as [level] from XRefs where documentid = (select top 1 documentid from Documents where filename = 'ABC.SLDASM')
union all
select xr.documentid, xr.RevNr, xr.XRefDocument, xr.XRefRevNr, [level] + 1 as [level] from XRefs xr
inner join xrefsrec on xr.DocumentID = xrefsrec.xrefdocument)
select
xrr.level ,d.filename, xrr.XRefRevNr
from
documents d
inner join xrefsrec xrr on d.documentid = xrr.XRefDocument
Unfortunately, I had to destroy the file set and copy a backed up version from outside the vault so that I could continue with my add-in development. If it happens again, I will be sure to run the query and post the results.