Tag: sample code

  • All the Sample Code You Can Eat

    If you haven’t stopped by the ADN Manufacturing Dev blog, here are some of the recent posts related to the Vault API. Most posts follow a Question/Answer format with the Answer being a nice chunk of code.

  • Change Order Sample Code

    Any many of you have pointed out, there isn't much sample code out there on working with Change Orders.  So let me attempt to remedy that by providing code on two common operations you might want to do through the API:  creating a new Change Order and updating the lifecycle state of a Change Order.…

  • Viewing Thumbnails

    Update for Vault 2012:  Additional image formats supported. This post applies to Vault 2011 and earlier. Go here for the Vault 2012 code. Here is how you view thumbnail data from Vault. Background:Thumbnails are stored as metafiles, which must be rendered to a display context.  This is a bit different from a jpeg because metafiles…