How do I edit the properties of a DWG file from C# Application

Hi all,
How can I view or edit the properties within a DWG file from a C# application (not from within AutoCAD)
Ideally I would like to do this without the need for AutoCAD to be installed on the machine, but if this is not possible information on how to do this with AutoCAD available would be useful.
In particular I am looking to do the following:
 - Get & Set Attributes within a specified Block
 - Get & Set Fields within the file.
Any help would be appreciated.
Many thanks,
James AtkinSenior Principle Software EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Fernando SotoRetiredCommented:
Hi James;

In order to manipulate the objects in an AutoCAD drawing you will need to use their API's. See this article AutoCAD 2D Drawing using C# with AutoCAD COM API for more information.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James AtkinSenior Principle Software EngineerAuthor Commented:
Thanks for the feedback.
I assume that there is no way to do this without AutoCAD being installed?
Fernando SotoRetiredCommented:
To your statement, "I assume that there is no way to do this without AutoCAD being installed?", you are correct the AutoCAD API's give you access to the functions in the AutoCAD applications and therefore must be installed.
James AtkinSenior Principle Software EngineerAuthor Commented:
Thanks a lot for the information.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.