Posts: 242
Registered: ‎12-15-2011
Message 1 of 2 (794 Views)

Entities in AutoCAD using C#

794 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.




Posts: 1,458
Registered: ‎04-09-2008
Message 2 of 2 (785 Views)

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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.