Click here to Skip to main content
12,401,864 members (60,389 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# AutoCAD
Hi everyone,
I want to print a dwg file programmatically in my c# project without opening AutoCad.my application is network base and my file is in a shared folder.I do not know how should i do that?
Posted 10-Dec-11 19:08pm
Comments
SAKryukov 11-Dec-11 1:15am
   
Just a note: not easy at all. I used 3rd-party project, had a lot of problems with performance, etc.
--SA
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Found Similar question there-[Printing AutoCad DWF and DWG files][^] where an answer suggested by an OP is to used those with VS2k5 was to use the installer that installs a wizard in VS that sets everything up for you right away. It is the ObjectARX SDK, found here:
ObjectARX[^] and other reference link is
Auto Desk Development Development Center [^]
  Permalink  
Comments
Amir Mahfoozi 11-Dec-11 4:16am
   
+5'ed :)
phoenix1167 17-Dec-11 2:18am
   
hi,
i have downloaded the documentation of objectarx but i could not find any thing about print dwg file in it.

I am too beginner in objectARX.
please help me...
phoenix1167 17-Dec-11 4:22am
   
i am waiting for your response yet...
please help me..
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You have basically three options:

1) Write your own .DWG file parser and print from that - lots of work.
2) Use a third party control - as SA said, lots of problems.
3) Use the application which knows the files best: Autocad.

If you can't do (3), then you have a lot of work ahead of you!
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

I asked my question in Autodesk site and receive my answer in Through the interface site.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 21 Dec 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100