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

Load and run my dll from ACAD menu

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
269 Views, 4 Replies

Load and run my dll from ACAD menu

Sorry, I'm sure this is simple but how do I load and run my .NET dll from
an ACAD 2006 menu? Tried all manner of lines but can't get it working.

^C^C-netload "D:/Dev Projects/VB Projects/_AutoCAD
Apps/MyTestApp01/bin/MyTestApp01.dll"; MyTestApp

TIA

Russ
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

OK Found it:

^C^C^C_filedia 0 _netload MyTestApp01.dll _MyTestApp _filedia 1
Message 3 of 5
Anonymous
in reply to: Anonymous

You could also use:

(command "netload" "MyTestApp")

You don't need to include .dll on the end of the file name.

Ben Rand
CAD Manager
CEntry Constructors & Engineers
brand@centry.net

"Russ Green" wrote in message
news:5040950@discussion.autodesk.com...
OK Found it:

^C^C^C_filedia 0 _netload MyTestApp01.dll _MyTestApp _filedia 1
Message 4 of 5
alexandrescoelho
in reply to: Anonymous

Hi,

I can send the command by Autodesk.AutoCAD.Interop.AcadDocument.SendCommand("command") but it isn't execute the command, just write in the command line. How can I execute this command?
Message 5 of 5
NathTay
in reply to: Anonymous

Add a space at the end of the command string.

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