Convert LISP routine to VBA equivalent

Discussion in 'AutoCAD' started by jason.cyr13, Feb 28, 2007.

  1. jason.cyr13

    jason.cyr13 Guest

    Good afternoon.

    I currently use a LISP routine to find the midpoints to 2 lines and
    inserts an attribute block with values taken from the user in between
    the midpoints of the two lines. I have just started to do VBA coding,
    after recently starting VB.NET, so I am familiar with the language.
    Here's what I need the routine to do:

    1) get 3 values from the user (Lot, block and scale) and concat 2
    values
    2) get the midpoint between two lines midpoints
    3) insert an attribute block populated with values taken from the user
    4) loop the routine so the values autoincrement, but also give the
    user a chance to change the lot/block values

    I know that it seems that you all are doing the work, but I just need
    an example to jump off from so I can see how the language works. I
    would greatly appreciate any help the you can provide.

    Thanks.
    Jason.
     
    jason.cyr13, Feb 28, 2007
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.