AutoCAD Mechanical Forum
Welcome to Autodesk’s AutoCAD Mechanical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Mechanical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem converting DWG to PDF using DWG to PDF conversion

0 REPLIES 0
Reply
Message 1 of 1
mail2vguna
479 Views, 0 Replies

Problem converting DWG to PDF using DWG to PDF conversion

Hi

 

I am using the following code to convert dwg to pdf using DWG true view dll.

 

public AcCtrl m_dwgdll;

m_dwgdll = new AcCtrl();
string m_Path = "d:\architectural_example-imperial.dwg";
m_dwgdll.PutSourcePath(m_Path);

string[] str = new string[2];
str[0] = m_dwgdll.GetSourcePath();
m_dwgdll.SilentPublish(str);
//m_dwgdll.SetPc3File("DWG2PC3.PC3");

 

I have set the Location(string value - d:\\output.pdf) in HKEY_CURRENT_USER\Software\Autodesk\DWG TrueView\R7\dwgviewr-E001:409\Profiles\<<Unnamed Profile>>\Dialogs\AcPublishDlg\ in the registry

 

but still i did not save in d:\ drive also i did not any error from above code.

 

KIndly help me to save the PDF file from DWG file using DWG true view.

 

Looking forward your reply.

 

 

Regards

Guna

Tags (1)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost