Message 1 of 5
call lisp / sendcommand in VBA
Not applicable
01-23-2006
11:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
VBA won't pause till LISP / SendCommand ends, how to solve it? seems an old issue.
i have a VBA routine like this:
Sub test()
proc1
proc2
End Sub
proc1 may load & run LISP file
proc2 may use ThisDrawing.SendCommand
proc2 have to use the result of proc1 which requires the end of proc1 before proc2 can start run
the reason to do in this way is VBA object model doesn't support Topology so i have to use LISP to build it.
it's continuous processing, really don't want to manually seperate into pieces, any tricks to get around? thanks.
by the way, i use 2004.
i have a VBA routine like this:
Sub test()
proc1
proc2
End Sub
proc1 may load & run LISP file
proc2 may use ThisDrawing.SendCommand
proc2 have to use the result of proc1 which requires the end of proc1 before proc2 can start run
the reason to do in this way is VBA object model doesn't support Topology so i have to use LISP to build it.
it's continuous processing, really don't want to manually seperate into pieces, any tricks to get around? thanks.
by the way, i use 2004.