.NET

Reply
Mentor
The_Caddie
Posts: 208
Registered: ‎06-08-2010
Message 1 of 3 (341 Views)

loading a lisp with dot.net wizard ?

341 Views, 2 Replies
07-06-2011 05:35 AM

Hi,


I want to crate a .net wizard plug in that calls up a specific lisp I made.

 

The examples online so far have proven to be woeful

 

Dose anyone know how to achieve this?

ADN Support Specialist
augusto.goncalves
Posts: 361
Registered: ‎04-30-2009
Message 2 of 3 (312 Views)

Re: loading a lisp with dot.net wizard ?

07-07-2011 07:34 AM in reply to: The_Caddie

Hi,

 

You need to P/Invoke acedInvoke to use LISP from .NET. Please try the code suggested here: http://download.autodesk.com/media/adn/AutoCAD.NETforLispProgrammersWebcast_16Oct08.zip

 

Regards,


Augusto Goncalves

Autodesk Developer Network

Regards,



Augusto Goncalves
Autodesk Developer Network
*Expert Elite*
_gile
Posts: 2,092
Registered: ‎04-29-2006
Message 3 of 3 (287 Views)

Re: loading a lisp with dot.net wizard ?

07-09-2011 07:23 AM in reply to: augusto.goncalves

Hi,

 

If you're using 2011 or 2012 SDK, you can use the Application.Invoke() method which wraps the ObjectARX acedInvoke() function.

 

Anyway, look at the vl-acad-defun function in autoLISP Reference.

Gilles Chanteau
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.