Is there any book about using VB6 with AutoCAD? Thank You Diego Alejandro Talledo
Probably there are a few of them, but it is very difficult to find the one that would give you a big push into VBA. My recommendation is start getting familiar with the AutoCAD Object Model and writing a few simple things, AutoCAD VBA help is very good for that. Then, get yourself a few books on Visual Basic there you would find a lots of techniques that you could apply to this. In addition, check this discussion group and post any questions you have, people here would be glad to give you a hand. Don't forget that Visual Basic has moved into .NET, you might consider starting with it or C#, if you are planning to proceed in programming. Good lock!
But can I use VB .NET to program my autoCAD? Some people told me that .NET is completely different from VB6...
Hi, The answer is a categoric YES. It is simply a different way. As yet there is no ".NET for Applications" in the sense of "VB for Applications" or VBA built into AutoCAD, but we are all waiting for Autodesk to create this capability. In the meantime C# in .NET is being seen by many as the optimum language for the future. -- Laurie Comerford CADApps www.cadapps.com.au is completely different from VB6...
Hopefully Autodesk will introduce VSA in the next release while maintaining VBA. http://vsip.summsoft.com/vsa/docs/customizationCOMandDOTNET.asp Regards - Nathan
I'm not very experienced...But I've understood that VB6 use ActiveX or OLE Automation to interface with ACAD...What about VB .NET? Thanks Diego Alejandro Talledo
for the future. http://python.org I started using python about a month and a half ago and I must say it's easy to code in as well as being a powerful language. I highly recommend taking a look.
No Problem. Here's a quick link to a tutorial by the author of python, Guido van Rossum. http://python.org/doc/current/tut/ - Tim Riley
Hi, Are you using it generally, or to talk to the AutoCAD object model ? How much detailed sample code can you find for AutoCAD and add ons like Map, ADT, MDT, LDT etc. ? Lack of sample code may be OK for professional programmers, but for those to whom coding is a by product of other work, then lack of it will be critical. Autodesk are clearly going into .NET. Does Python have a clean interaction with that ? -- Laurie Comerford CADApps www.cadapps.com.au
I'm using it generally and to talk to the AutoCAD object model. All I need to do is: import win32com.client o = win32com.client.Dispatch("AutoCAD.Application") From there I can completely control AutoCAD. As for the lack of sample code, I don't know what to tell you. I'm hardly a "professional programmer" but I'm really not having a tough time with it. Like any language it just takes some time to get used to the syntax. Microsoft is paying Activestate to develop a python interpreter for the dot net framework. So I'm sure that by the time AutoCAD goes dot net python will be right there with it.