• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk Vault Customization

    Reply
    Distinguished Contributor
    Posts: 132
    Registered: ‎04-14-2005

    Item Watermarks

    116 Views, 4 Replies
    08-10-2012 10:01 AM

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

    Rodney Thomas
    Design Engineer / Programmer
    A & A Manufacturing

    Support a Q & A For CAD Users: Stack Exchange Proposal
    Please use plain text.
    Employee
    Posts: 37
    Registered: ‎09-09-2007

    Re: Item Watermarks

    08-15-2012 03:04 AM in reply to: rjay75

    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
    Please use plain text.
    Distinguished Contributor
    Posts: 132
    Registered: ‎04-14-2005

    Re: Item Watermarks

    08-15-2012 06:50 AM in reply to: barbara.han

    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

    Rodney Thomas
    Design Engineer / Programmer
    A & A Manufacturing

    Support a Q & A For CAD Users: Stack Exchange Proposal
    Please use plain text.
    Employee
    Posts: 37
    Registered: ‎09-09-2007

    Re: Item Watermarks

    08-15-2012 11:16 PM in reply to: rjay75

    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
    Please use plain text.
    Distinguished Contributor
    Posts: 132
    Registered: ‎04-14-2005

    Re: Item Watermarks

    08-16-2012 06:26 AM in reply to: rjay75

    Thanks,

     

    That's what I thought the situation would be.

     

    -Rodney

    Rodney Thomas
    Design Engineer / Programmer
    A & A Manufacturing

    Support a Q & A For CAD Users: Stack Exchange Proposal
    Please use plain text.