.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Opening an Autocad drawing via a C# application Zooming user specific Area

1 REPLY 1
Reply
Message 1 of 2
diwilk
717 Views, 1 Reply

Opening an Autocad drawing via a C# application Zooming user specific Area

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 area of 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 guiding or providing a sample code segment will be a great help.

Tags (3)
1 REPLY 1
Message 2 of 2
augusto.goncalves
in reply to: diwilk

If you need to create this from a external application, the  you need to either use COM or the AutoCAD Console.

 

Using the COM seems easier here, but you'll need to fully open AutoCAD and call Zoom, see this http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-6D85F583-2B0D-4C8B-9E17-0A072EBCB41C

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost