By Barbara Han
Issue
I have some Inventor files (e.g. IDW files) in Vault, and I want to plot them in a specific sequence from my Vault extension application, but I don't find the plot function in Vault API help document. Is it possible to plot file without Inventor installed?
Solution
Vault self has not plot API. What you see from Vault Explorer or other Client is implemented by Vault Client application.
Inventor’s Apprentice server supports plot API. Apprentice server API is available from Inventor or Inventor View. It’s possible to plot without Inventor installed, but you need to have Inventor view installed. The Inventor view is free tool. You can download it from: www.autodesk.com/inventorview
Here is a VB.NET sample of calling plot function of apprentice server API:
Dim oDoc As ApprenticeServerDrawingDocument = oApprenticeApp.Open(“C:\Temp\MyDrawing.idw”)
Dim oPrintMng As ApprenticeDrawingPrintManager = oDoc.PrintManager
oPrintMng.Printer = "Autodesk DWF Writer"
oPrintMng.NumberOfCopies = 1
oPrintMng.SubmitPrint
You will need to modify the “Printer” property to your own printer’s name. Also you can try to change other PrintManager properties, such as PaperSize, Height, Width etc., which I’m not talking about here.