You are working in one of those gray areas in AutoCAD where Lisp can do something that would require a huge amount of VB knowledge to accomplish the same thing.
抱歉我没想到会粘成这样:
Here is a simple checklist for determining which API may be right for your project:
ObjectARX:
You are most comfortable working in C or C++
You need the absolute maximum amount of control over AutoCAD and Windows
You need to write custom objects
You need access to things which are not exposed to VBA or Lisp
You require more speed than can be had using VBA or Lisp
Your workplace requires applications be developed in C or C++
You need to use libraries external to AutoCAD which are only available to C or C++
VBA:
You are most comfortable working in VBA
You need to use a dialogs
You need to interface with Windows or one of the Microsoft office programs like Excel
You are new to developing for AutoCAD or are new to developing period
You require maximum speed of development time yet are not overly worried about application speed
You know you are going to need a lot of help from Autodesk getting your application written
Lisp:
The world ended and there are no other tools available
You are most comfortable working in Lisp
You are working with an AutoCAD version prior to 2000
You are working in one of those gray areas in AutoCAD where Lisp can do something that would require a huge amount of VB knowledge to accomplish the same thing.
Your workplace requires it
Your workplace may need to interface existing Lisp libraries with your tool
You enjoy pain
You don't need any dialogs or graphical user interaction other than the command line/screen pics in your application
Parens make you happy (oh look here come the men in white coats for you now)