Posts: 221
Registered: ‎12-15-2011
Message 1 of 2 (559 Views)

Entities in AutoCAD using C#

559 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,346
Registered: ‎04-09-2008
Message 2 of 2 (550 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community