How to load the Add-in and .Dll files

How to load the Add-in and .Dll files

Anonymous
Not applicable
9,858 Views
3 Replies
Message 1 of 4

How to load the Add-in and .Dll files

Anonymous
Not applicable

Hi

I have developed the macros for Revit 2014 in visual studio 2010 express edition.

For testing purpose i am trying to run this macros in multiple machines...

I tried to copy the .dll file to some local path and i edited the add-in file <Assembly> </Assembly> with same local path and i placed the add-in file in

the below path.

"C:\ProgramData\Autodesk\Revit\Addins\2014".

After launching the revit, if i try to run the macro I am getting error as

 

erWrong class

 

I am not getting in which location i have to copy the add-ins and .dll files.

Please suggest where I need place these files.

 

Please help me to solve this issue.

 

0 Likes
9,859 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Few more points i want add to this discussion.

 

The macro is working fine in the machine where i developed the code.

 

I copied the add-ins and .dll files to other machine for testing that time i am facing the issue.

 

I am not very clear where exactly i need place the add-in and .dll files.

 

please someone help me to solve this issue.

0 Likes
Message 3 of 4

Troy_Gates
Advocate
Advocate

For testing purposes, I usually put the DLL and the ADDIN file both in the same folder located here: C:\ProgramData\Autodesk\Revit\Addins\2015\ (change the 2015 to the version of Revit you ware using).

 

Then in the ADDIN file set the <Assembly> to the file name of the DLL with no folder path.

 

This makes it easy to distribute the addin for testing.

0 Likes
Message 4 of 4

Anonymous
Not applicable

Thank you very much for the reply..

0 Likes