242 Posts
16 Kudos
Registered: ‎12-15-2011
Post 1 of 2

Entities in AutoCAD using C#

805 Views, 1 Replies
01-24-2013 11:46 PM


I am doing a customization project in AutoCAD 2012 using C#.net.


My problem is i am trying to fetch all the objects/Entities present in AutoCAD and display in combobox. 


for example Line, Circle, Hatch......  and once Line is selected i am trying to fetch its properties.


Is it possible to do this kind of thing. Currently i have hardcoded Line and its select few properties. 


Any ideas on how to do this dynamically.




1,467 Posts
277 Kudos
Registered: ‎04-09-2008
Post 2 of 2

Re: Entities in AutoCAD using C#

01-25-2013 01:38 AM in reply to: amitk_189

You can download and install MGDDBG and study its's source code. It will be very useful sample:

DWG Debugger MGDDBG App for AutoCAD 2012/2013


25-01-2013 11-48-50.png


25-01-2013 11-49-40.png

Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!