Item Watermarks

Item Watermarks

rjay75
Advisor Advisor
1,308 Views
4 Replies
Message 1 of 5

Item Watermarks

rjay75
Advisor
Advisor

When retrieving the the visualization of an attachment, how do you get the proper watermark to appear on the visualization for the item.

0 Likes
Accepted solutions (1)
1,309 Views
4 Replies
Replies (4)
Message 2 of 5

barbara.han
Alumni
Alumni

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.

 

Barbara Han
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 3 of 5

rjay75
Advisor
Advisor

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

0 Likes
Message 4 of 5

barbara.han
Alumni
Alumni
Accepted solution

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

 

Barbara Han
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 5 of 5

rjay75
Advisor
Advisor
0 Likes