0

I am new to Autocad. I have a dwg drawing which include information related to a plan of an area. I am developing a small Windows Application where the user can input a desired city and the application will open the dwg file in a Autocad.exe zooming the given city. I would like to know whether it is possible to open the dwg drawing zooming the area of user provided city of the plan, using C#. If so please guide with a sample code segment.

John Koerner
  • 37,428
  • 8
  • 84
  • 134
user2475467
  • 129
  • 1
  • 10

1 Answers1

0

The documentation contains sample code. This code must be running in the AutoCAD process. Communicating with an out-of-process executable is complicated, but possible.

Owen Wengerd
  • 1,628
  • 1
  • 11
  • 11
  • Thank you very much for the reply. Is there any possibility to read the X,Y coordinates of the user given city from the DWG file and then pass them to the zooming function in sample code. Is it possible to feed the coordinate information to autocad.exe when opening the drawing via the C# application? – user2475467 Jun 24 '14 at 07:06