+ Reply to Thread
Results 1 to 7 of 7

Thread: VBA or LISP?

  1. #1
    Full Member
    Computer Details
    frostrap's Computer Details
    Operating System:
    Windows Vista
    Using
    AutoCAD 2009
    Join Date
    Dec 2007
    Location
    Tacoma, Wa, USA
    Posts
    80

    Default VBA or LISP?

    Registered forum members do not see this ad.

    Hello all, I'm new to this forum, but it looks pretty active here, so I'm hoping I can get some good input!

    I have what I consider a moderate background in VBA, primarily with Excel and Access. I am relatively new to Autocad, and am looking to learn the programming end of it.

    Having some background in VBA and a very limited knowledge of Lisp, I would prefer to just learn VBA for Autocad rather than Lisp. That is unless there's a compelling reason to learn Lisp instead.

    Which should I focus my attention on more? VBA or Lisp? What does VBA do that Lisp doesn't and vice verca?

    Thoughts?

    Thanks,

    -Joe-

  2. #2
    Super Member
    Using
    AutoCAD not applicable
    Join Date
    Jul 2007
    Posts
    639

    Default

    Here is a good article that may answer some of your questions.

    http://www.afralisp.net/vba/api.htm
    If at first you don't succeed, then maybe failure is more your style.

  3. #3
    Full Member
    Computer Details
    frostrap's Computer Details
    Operating System:
    Windows Vista
    Using
    AutoCAD 2009
    Join Date
    Dec 2007
    Location
    Tacoma, Wa, USA
    Posts
    80

    Default

    That's exactly what I was looking for!

    The company I'm working for is pretty involved with Lisp. The few people there who do program do it in Lisp, so that's probably the direction I'll go for the time being.

    Lisp is a little confusing compared to VBA, but I think I'll be able to wrap my brain around it, especially as I get more involved with Autocad in general.

    I'd still appreciate anybody else's opinions if you feel like giving your 2 cents.

    Thanks PS_!

    Joe

  4. #4
    Full Member Benson's Avatar
    Using
    Architectural DT 2008
    Join Date
    Jul 2006
    Location
    US
    Posts
    44

    Default Languages

    Why just VBA or Lisp? You will probably find yourself doing one of the two for a few years but eventually want to progress to a language that has MORE control over AutoCAD. I would suggest you either go for c#.net or VB.Net - they both have a better potential in the long term (Autodesk are not developing VBA any further and since a lot of the development team use .Net for AutoCAD it would seem that it's future is safer).
    ---------------------------------------
    CAD Resource Site
    http://www.herculedesign.com/
    ---------------------------------------

  5. #5
    Full Member
    Computer Details
    frostrap's Computer Details
    Operating System:
    Windows Vista
    Using
    AutoCAD 2009
    Join Date
    Dec 2007
    Location
    Tacoma, Wa, USA
    Posts
    80

    Default

    Great input Benson!

    Do you know of some good resources for exploring the connection between VB.Net and Autocad in more depth? I am relatively new to Autocad.

    Joe

  6. #6
    Super Member SEANT's Avatar
    Using
    AutoCAD 2012
    Join Date
    Aug 2005
    Location
    Rhode Island
    Posts
    1,968

    Default

    In addition to this forum, www.swamp.org and http://discussion.autodesk.com have sections devoted to .Net development. You can also find an excellent video tutorial here:
    http://through-the-interface.typepad...introduct.html

    If you are using 2004 as stated in your profile, you will only have access to AutoCAD through the COM interface – essentially the same connection one finds with VBA. Autocad versions 2005 through Present offer progressively increasing .Net support and, from the general consensus, will get most of Autodesk’s development attention (as opposed to Lisp or VBA) from now on.

  7. #7
    Full Member
    Using
    AutoCAD 2005
    Join Date
    Oct 2006
    Posts
    27

    Default

    Registered forum members do not see this ad.

    ****EDIT*** Oops just realised he is on 2004 so information below is prob useless to him!

    Get Autocad tutorials on this page:

    http://usa.autodesk.com/adsk/servlet...&siteID=123112

    Official forums for help:

    http://discussion.autodesk.com/forum.jspa?forumID=152

    Sharpdevelop or Visual Express 2008

    http://www.icsharpcode.net/OpenSource/SD/
    http://www.microsoft.com/express/

    If you use Express 2008 which has no real time debugging function then I recommend this program that gives you that option and a few other good extras: (Need at least Autocad 2006)

    http://www.codeplex.com/dotnetarx/Re...ReleaseId=8881

Similar Threads

  1. problem, trying to running a list of lisp from within a lisp
    By twind2000 in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 20th Aug 2007, 04:27 pm
  2. calling another lisp from within my lisp
    By thalon in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 22nd Feb 2006, 09:56 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts