Here's an example I have of how Autodesk did it with the layer command.
To Demand Load a .NET assembly in AutoCAD:
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4001:409\Applications\AcLayer]
"DESCRIPTION"="AutoCAD Layer Manager"
"LOADER"="C:\\Program Files\\AutoCAD 2006\\aclayer.dll"
"LOADCTRLS"=dword:0000000e
"MANAGED"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4001:409\Applications\AcLayer\Commands]
"LAYER"="LAYER"
[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.2\ACAD-4001:409\Applications\AcLayer\Groups]
"ACLAYER_CMDS"="ACLAYER_CMDS"
--
Regards,
Tim
http://www.theswamp.org/~tim/pyacaddotnet/
wrote in message news:5146916@discussion.autodesk.com...
I'm trying to create an Add-In for Autocad2007, using C# (.NET 2.0). But I
can't register the plugin (write the important stuff in the registries).
Does anybody know what and where should I write in the registries?