(setq activedocument vla-get-activedocument ) etc.
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.
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
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
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
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.
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
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