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

    Reply
    Active Contributor
    Posts: 34
    Registered: ‎02-09-2009

    Publish

    146 Views, 2 Replies
    06-08-2009 07:32 AM
    Hello ,


    I am programming in C # and add the design does not generate the Thumbnail DWG and DWF neither, so I have to enter the product stream and click the Update button.

    have any command via API to make the publication?

    Code add File:

    DocumentoAdd = docSvc.AddFile(folder.Id, filePath, "Arquivo Adicionado",
    System.IO.File.GetLastWriteTime(filePath), null, null, null, null, null , DocReference.FileClassification.None, false, bytes);

    Att.,

    Darcy
    Please use plain text.
    *Doug Redmond \(Autodesk\)

    Re: Publish

    06-09-2009 04:45 AM in reply to: trafo2009
    Let me repeat your question to make sure I understand.
    You are adding in a file through the API and it's not creating the DWF and
    DWG thumbnail file. These files get created when you add a file through the
    CAD plug-in.

    ADMS does not generate any files. So if you want a DWF to go with your
    design file, you need to generate the DWF yourself and add it to
    Vault/Productstream.

    In Vault Collaboration and Vault Manufacturing 2010, there is an additional
    option. If you have the job serviece set up, you can add a DWF generate job
    instead of creating the DWF yourself.


    Doug Redmond
    Software Engineer, Autodesk Inc.
    Please use plain text.
    Active Contributor
    Posts: 34
    Registered: ‎02-09-2009

    Re: Publish

    06-09-2009 07:11 AM in reply to: trafo2009
    so so,

    Doug: You are adding in a file through the API and it's not creating the DWF and DWG thumbnail file.
    Doug: These files get created when you add a file through the CAD plug-in.
    Darcy: how create this files? because if this files not create , the web user has installed Autocad.


    att.,
    Please use plain text.