Message 1 of 2
Not applicable
07-11-2017
12:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have been fighting this one for a while now. I need to be able to read the return value from a lisp function this would return in lisp T or nil
I have somthing like this in c# with Autocad 2013/ARX 2013
string path = @"C:/script.LSP";
string cmd = string.Format("(load \"{0}\") ", path);
doc.SendStringToExecute(cmd, true, false, true);
ResultBuffer pa = new ResultBuffer();
pa.Add(new TypedValue(5005, "c:issignedin"));
ResultBuffer rb = new ResultBuffer();
rb = Application.Invoke(pa); //here I get eInvalidInput
ed.WriteMessage(rb.ToString());
There is no much info out there and none of it has helped me so far.
Any ideas?
Thanks in advance,
Solved! Go to Solution.