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

Programmatically plot a file

1 REPLY 1
Reply
Message 1 of 2
autoprint
1526 Views, 1 Reply

Programmatically plot a file

Hello everyone,

 

I was looking to utilize .NET to simply plot a file (to PDF) with True View via Active X controls.  The only cavaet is the lack of AutoCAD; which shouldn't be needed, except the .pc3 file, correct?

 

Would the following code be reasonable once I reference the axAcCtrl.dll and select the Acctrl Component (which I do not know if I'll have access to...)?

 

string[] pArray = new string[0] {"D:\\Example.dwg"};

AcCtrl1.PutSourcePath(pArray)

axAcCtrl1.SetPc3File("DWG to PDF.pc3")

AxAcCtrl1.SilentPublish(pArray);

If it is clearly wrong, should I try using a different DWG viewer/plotter?  E.g. AutoDesk Design Review?

 

Thanks!

1 REPLY 1
Message 2 of 2
banna.kbet
in reply to: autoprint

Hey,

Do you get any solution?

I am also running same problem...

 

please reply me if any possible solution.

 

regards

Banna

banna.kbet@gmail.com

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

Post to forums  

Autodesk Design & Make Report