.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to call Lisp functions from .Net

20 REPLIES 20
Reply
Message 1 of 21
Anonymous
5630 Views, 20 Replies

How to call Lisp functions from .Net

I have a Lisp routine which gets the field code from attribute. I need to run this function when changing attribute field codes as this is not exposed in .Net API !. I can not use SendStringToExecute as it waits until the .Net program is finished. How do I go about that.
I tried acedCmd with DllImport but no success as it doesn't run AutoLisp routines.
Thanks,
20 REPLIES 20
Message 21 of 21
Anonymous
in reply to: ActivistInvestor

Thank you for the help.

Using your code Autocad return this:

 

"Autodesk.AutoCAD.Runtime.Exception: eInvalidInput
в Autodesk.AutoCAD.Runtime.Interop.CheckAds(Int32 returnValue)"

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost