Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending data between VBA and lisp

Status
Not open for further replies.

minkadinka

Materials
Jul 12, 2005
3
Hi all.
Can anyone help me with an ongoing problem? I'm using a vba form called from lisp, but am having trouble passing data back to lisp from this form.
I have used the users1-s5 variables successfully in the past but this particular form has about 20 input fields that I need to feed back. Anyone found a solution for a similar problem?
 
Replies continue below

Recommended for you

how about writing to a temporary file ?

just write the data out in vba
read the data in via Lisp
kill the temporary file

or string the items together in a single list, then use one of the USERSx variable to hold the single string (list) then you will need to parse the list when reading it back in


~ for your CAD solutions
 
Thanks Hendie.

Yeah, I'm currently writing out to a temp text and then reading/deleting this temp file within lisp. I've thought of the single list option too, but for reasons too complicated to explain simply it got too messy.
I was hoping to find a simple solution that could take place within acad (ie, no external file needed) but I can't seem to find a solution. It's one of those problems that I know other people must have faced before but I can't seem to find a single instance mentioned anywhere online.

Thanks for your thoughts though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor