When retrieving the the visualization of an attachment, how do you get the proper watermark to appear on the visualization for the item.
Solved! Go to Solution.
Solved by barbara.han. Go to Solution.
Hi rjay75,
As I know, the watermark for Item only appears on 2D DWF. If you are using 3D DWF, it won't appear automatically.
This blog will give your some understanding:
http://underthehood-autodesk.typepad.com/blog/2010/03/improved-usability-with-vault-2011.html
You need to check "Enable Visualization WaterMarking" setting in Vault Settings -> Items tab in order to get the watermark work.
By thw way, this discussion thread is mainly for API-related issues. If you ask product usage issue, like this one, you may get the answer ver late. Autodesk Vault is a better place to ask product features.
Hi, Barbara,
Thanks for the response. I have Watermarks enabled in the vault settings and they work just fine when viewing files uses the vault explorer client and web interface.
In my current method I return a list of 2d drawing files from all the attachments and associated files with an item. When I call GetItemFileAssociationsById and GetAttachmentsByItemId I am returned file ids. Getting the visualizations of those files return the original unwatermarked dwfs. Is there a special context in which to retrieve the file so the visualization is retrieved from the context of the item it's attached to.
Thanks
As I know, the watermarked dwf is not able to get directly through Vault API. The Vault client (e.g. Vault Explorer, web client) uses DWF toolkit API to put the watermark (or saying markup) in the dwf file when viewing the item file.
You can get watermark's data through Vault API, e.g. GetWatermarkByItemIdAndFileId, but the watermarked dwf is generated by Vault client, and no client API for you to get that result file.
This is the entry for DWF toolkit, if you want to learn it:
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=823771
Thanks,
That's what I thought the situation would be.
-Rodney
Can't find what you're looking for? Ask the community or share your knowledge.