Taking measurements of an autocad drawing in vb.net
-
Hi, I am doing an application in VB.Net 2005 and in that I want to read the measurements of an autocad drawing. Is there any way to do it. If possible please help. Thanks Report post as abusive
When you save an autocad drawing, the file(s) created must be having the dimensions. That is the reason why one can open a saved drawing correctly. It would be good to get a few Autocad drawing files and analyze their structure. Then all you will need to do is read the file at the positions where dimensions are saved.
Happy Holi[^] जय हिंद
-
Hi, I am doing an application in VB.Net 2005 and in that I want to read the measurements of an autocad drawing. Is there any way to do it. If possible please help. Thanks Report post as abusive
Google for "Autocad Automation" and you'll find a bunch of examples on how to talk to Autocad from your code. As for exactly how to get the dimensions of various objects in a drawing, that would be a question for an AutoDesk forum, not us.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008