.NET

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

loading a lisp with dot.net wizard ?

313 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
Posts: 288
Registered: ‎04-30-2009
Message 2 of 3 (284 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*
Posts: 1,981
Registered: ‎04-29-2006
Message 3 of 3 (259 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community