Lisp vla functions

Discussion in 'AutoCAD' started by Doug Broad, Apr 8, 2004.

  1. Doug Broad

    Doug Broad Guest

    (setq activedocument vla-get-activedocument ) etc.
     
    Doug Broad, Apr 8, 2004
    #1
  2. Doug Broad

    kipshas Guest

    Hi all, maybe somebody nows resourse where I can find such functions without
    vla (the same functionality)
    vla-get-ActiveDocument, vlax-get-Acad-Object, ...

    Thanks all.
     
    kipshas, Apr 8, 2004
    #2
  3. Doug Broad

    kipshas Guest

    No, I need this vla functionality not using vla-* functions. !!!
     
    kipshas, Apr 9, 2004
    #3
  4. Ummm...weren't the "vla-*" functions implemented precisely because
    this "vla functionality" did not previously exist in autolisp? The vla-*
    functions
    expose the Autocad Object Model in Lisp using COM/ActiveX.

    Perhaps you could describe exactly what you are wanting to do so that
    someone here
    can suggest a solution using standard autolisp or VBA.

    -Rick Francken
     
    Rick Francken, Apr 9, 2004
    #4
  5. My hunch is that someone wants to get around some limitations in LT.

    --
    R. Robert Bell



    Ummm...weren't the "vla-*" functions implemented precisely because
    this "vla functionality" did not previously exist in autolisp? The vla-*
    functions
    expose the Autocad Object Model in Lisp using COM/ActiveX.

    Perhaps you could describe exactly what you are wanting to do so that
    someone here
    can suggest a solution using standard autolisp or VBA.

    -Rick Francken
     
    R. Robert Bell, Apr 9, 2004
    #5
  6. Doug Broad

    BillZ Guest

    I was thinking a older version of acad...maybe r12?


    Bill
     
    BillZ, Apr 9, 2004
    #6
  7. That's a charitable thought! Shame on me for thinking the worst! ;^)

    --
    R. Robert Bell


    I was thinking a older version of acad...maybe r12?


    Bill
     
    R. Robert Bell, Apr 9, 2004
    #7
  8. Doug Broad

    kipshas Guest

    Sorry for disunderstanding, I have to use my Acad Lisp functions with
    IntelliCAD and there is no vla-* functions in it so I have to rewrite my
    lisp routines replacing vla-* functions with standart lisp.

    Thanks.
     
    kipshas, Apr 10, 2004
    #8
  9. Don't know about the latest version, but Intellicad 2000 did not expose its
    Object Model in
    its Lisp interpreter. About the only way you could access that
    functionality is to write a
    COM/Activex server DLL that hooks into the Intellicad object model.

    Your best bet is to look in the Intellicad Help under the "Developer
    Reference". If you are
    using a newer version than Intellicad 2000, there might be some information
    about whether
    there is now an Intellicad equivalent to the vla-* functions.

    Good Luck,

    -Rick Francken
     
    Rick Francken, Apr 10, 2004
    #9
  10. Doug Broad

    kipshas Guest

    Thanks Rick,
    I allready decided to move from Lisp to VB, but there is one but in Lisp I
    can use cmdline commands (e.g. "-boundary"), but in VB (I create vb dinamic
    link lybrary (dll)) if I try to use it it fails. So I decided to use VBA to
    with "runcommand" method and then "go back" to VB :). It's dirty soliution
    but I don't know better.

    Remyga
     
    kipshas, Apr 13, 2004
    #10
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.