Loosing DXF (DesignRepresentation) when Vault PDF creation is adding PDF to the source file

Loosing DXF (DesignRepresentation) when Vault PDF creation is adding PDF to the source file

xavier.collet
Explorer Explorer
448 Views
4 Replies
Message 1 of 5

Loosing DXF (DesignRepresentation) when Vault PDF creation is adding PDF to the source file

xavier.collet
Explorer
Explorer

Hi,

I have created a job addin to publish and attach DXF file to Inventor Drawing.

I use "...FileManager.AddFile(..., ACW.FileClassification.DesignRepresentation,...);" to add the file to Vault.

I attache the DXF to the IDW using "...DocumentService.AddDesignRepresentationFileAttachment(IdwFile.Id, TargetFileAssocParam);" where TargetFileAssocParam.CldFileId = DxfFile.Id. 

All this works well, but,... once I have done this if I go back to the Vault UI and does a RMB-Create PDF File, the PDF file will be attached to the Idw but the previously attached Dxf is detached.

If I do it the other way around (PDF first and DXF 2nd), I do not loose the PDF attachment when adding the DXF...

Is anyone having the same kind of behaviour on Vault Pro 2020???

Cheers

Xavier

0 Likes
449 Views
4 Replies
Replies (4)
Message 2 of 5

Markus.Koechl
Autodesk
Autodesk

Hi Xavier,

Is the behavior specific to the user command "Create PDF"? Does the PDF job also remove the existing DXF-attachment?



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes
Message 3 of 5

stefan.palm
Advocate
Advocate

I can confirm having the same issue in Vault Professional 2021. 

0 Likes
Message 4 of 5

Markus.Koechl
Autodesk
Autodesk

I suggest creating an Idea Station submission; internal feedback on this confirmed that Design Representation's focus had been PDF only. IMHO, it makes sense to use the principle for any export format and allow it to combine with the default PDF Design Representation; you'll get my vote ;).



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes
Message 5 of 5

stefan.palm
Advocate
Advocate

It makes no sence for autodesk to detach all other Design Representations when creating/attaching the pdf as such. Also Autodesk has in previous events promoted this methodology to be used also for dxf's etc. So as i see it is a bug. 

0 Likes