.NET

Reply
Distinguished Contributor
afirmation
Posts: 147
Registered: ‎04-19-2006
Message 1 of 3 (131 Views)

How to register an Add-In for Autocad2007

131 Views, 2 Replies
04-19-2006 05:08 AM
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?
*Tim Riley
Message 2 of 3 (131 Views)

Re: How to register an Add-In for Autocad2007

04-19-2006 07:09 AM 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?
Distinguished Contributor
afirmation
Posts: 147
Registered: ‎04-19-2006
Message 3 of 3 (131 Views)

Re: How to register an Add-In for Autocad2007

04-20-2006 01:41 AM in reply to: afirmation
Thank you a lot, it workes great.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.