loading a lisp with dot.net wizard ?

loading a lisp with dot.net wizard ?

Anonymous
Not applicable
714 Views
2 Replies
Message 1 of 3

loading a lisp with dot.net wizard ?

Anonymous
Not applicable

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?

0 Likes
715 Views
2 Replies
Replies (2)
Message 2 of 3

augusto.goncalves
Alumni
Alumni

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
Twitter @augustomaia
Autodesk Developer Network
0 Likes
Message 3 of 3

_gile
Consultant
Consultant

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
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes