Probably simple: How to call a lisp function from VBA

Probably simple: How to call a lisp function from VBA

Anonymous
Not applicable
316 Views
2 Replies
Message 1 of 3

Probably simple: How to call a lisp function from VBA

Anonymous
Not applicable
Sorry,
fairly new to vba...for the longest time lisp did what I wanted, so I'm
finally trying to learn.

I have an existing lisp that does what I want, I just can't quite figure out
how to call it from VBA...

It's simple enough to call vba from lisp, hoping the reverse is true.

Thanks,
Kaai
0 Likes
317 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Use the SENDCOMMAND,

ThisDrawing.SendCommand "(defunname) " - notice the space after the close
bracket and last quotation mark to emulate Enter.

Jon
"kaai" wrote in message
news:4848131@discussion.autodesk.com...
Sorry,
fairly new to vba...for the longest time lisp did what I wanted, so I'm
finally trying to learn.

I have an existing lisp that does what I want, I just can't quite figure out
how to call it from VBA...

It's simple enough to call vba from lisp, hoping the reverse is true.

Thanks,
Kaai
0 Likes
Message 3 of 3

Anonymous
Not applicable
that was easy...Thanks Jon...


"Jon" wrote in message
news:4848426@discussion.autodesk.com...
Use the SENDCOMMAND,

ThisDrawing.SendCommand "(defunname) " - notice the space after the close
bracket and last quotation mark to emulate Enter.

Jon
"kaai" wrote in message
news:4848131@discussion.autodesk.com...
Sorry,
fairly new to vba...for the longest time lisp did what I wanted, so I'm
finally trying to learn.

I have an existing lisp that does what I want, I just can't quite figure out
how to call it from VBA...

It's simple enough to call vba from lisp, hoping the reverse is true.

Thanks,
Kaai
0 Likes