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

How to register an Add-In for Autocad2007

2 REPLIES 2
Reply
Message 1 of 3
afirmation
254 Views, 2 Replies

How to register an Add-In for Autocad2007

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?
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: afirmation

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?
Message 3 of 3
afirmation
in reply to: afirmation

Thank you a lot, it workes great.

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