Revit External Plug IN Error

Revit External Plug IN Error

d.ahmed.inovi
Participant Participant
479 Views
3 Replies
Message 1 of 4

Revit External Plug IN Error

d.ahmed.inovi
Participant
Participant

Hello Everyone, 

 

i recently developed a simple installation routine for a client for whom I am building a Plug-In. The installation routine installs a TAB where the user has access to all families directly in revit. It works fine in my client's computers and also on computers at my office. But some show this error. As you can see the file path shown in the error is a path from the computer where I developed the installation routine. 

 

Could you point out what could be the issue here? I have tried to look for solutions for the past 2 weeks and no luck yet. 

0 Likes
Accepted solutions (1)
480 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni
Accepted solution

The message says it all, really: your add-in is trying to access a directory that is not found.

 

You need to modify your add-in to access the correct directory, which apparently may be different on every PC.

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

d.ahmed.inovi
Participant
Participant

Hello @jeremy_tammik

 

really happy to see you reply. Your blog has helped me a lot. 

 

Yes I understand that the path is not accessibe, but it works in so many other computers that are not linked to my office or this path.

 

The installation is supposed to ask the user to select the language and then folder where all the families are saved once Revit starts. It works fine in most computers but a handful pop up with this issue. This path is nowhere written or mentioned in the entire Visual Studio File. The path is where I had first saved the files when the client sent it to me, other than that there is no role of this path.

0 Likes
Message 4 of 4

jeremy_tammik
Alumni
Alumni

Thank you for your appreciation.

 

You should probably test your add-in more carefully on a larger number of different machines before sharing it with the customers.

 

Some people call such software 'banana software'... designed to ripen after shipment.

 

For instance, you could set up a virtual machine and install only Windows, Revit and your add-in on it. That might provide more information.

 

You can also use various tools such a fuslogv to analyse the DLLs being accessed by your add-in and other applications:

 

https://thebuildingcoder.typepad.com/blog/2021/05/revitlookup-update-fuslogvw-and-override-joins.htm...

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes