Good Afterno!
Well, When open the draw with a program developed for me , before opening the drawing the prompt it waits for the writing of someone MAcro, but the same drawing, opened for Vault File don't have this problem.
I follow the Vault API:
docSvc.CheckoutFile(folder_id, arquivo.MasterId, machineName, workingFolder, "Checkout", true, false, out bytes);
System.IO.File.WriteAllBytes(workingFolder +"\\" + arquivo.Name, bytes);
MessageBox.Show("CheckOut Ok, agora iremos carregar o desenho.", "Desenho", MessageBoxButtons.OK, MessageBoxIcon.Information);
// |THIS LINE HAS THE MACRO PROBLEM|
Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.Open(workingFolder + "\\" + arquivo.Name, false);
Close();
Help me please;
Darcy Buss Neto
Programmer
Edited by: trafo2009 on Mar 4, 2009 2:40 PM