.NET

Reply
Mentor
amitk_189
Posts: 242
Registered: ‎12-15-2011
Message 1 of 2 (727 Views)

Entities in AutoCAD using C#

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

Hello,

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.

 

Regards

Amit

Moderator
Alexander.Rivilis
Posts: 1,417
Registered: ‎04-09-2008
Message 2 of 2 (718 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

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.