Vault General Discussion

Reply
Active Contributor
trafo2009
Posts: 34
Registered: ‎02-09-2009
Message 1 of 3 (199 Views)

Publish

199 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
*Doug Redmond \(Autodesk\)
Message 2 of 3 (199 Views)

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.
Active Contributor
trafo2009
Posts: 34
Registered: ‎02-09-2009
Message 3 of 3 (199 Views)

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.,
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
New button for Platinum & Gold Subscription customers
Gold & Platinum Subscription customers can alert Autodesk if they require assistance with their forum post

Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.