-
-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue when loading pyRevit while Revit is running #693
Comments
That's odd. Do you have the |
I'll test this out today. So this issue happened when hot-loading pyRevit while Revit is running. |
Hi @eirannejad , yes they are present and yes, when hot-loading pyRevit while Revit is running. |
Released 4.7 beta 3 with improvements. Hopefully it fixes this issue. Please test when you get a chance |
I used the above method but it still failed |
Would you check please to see if Nett.dll is inside the bin/ path in the installed pyRevit? |
Also why is there a need to hot load pyRevit like this?! |
|
So odd. |
@CuongVTC Try uninstalling pyRevit and install it again |
@htlcnn thanks, |
We have been doing this with all our addins for the last 3 years. Users have the option to load for the current session only or always. Only a couple fail and have to be set to "always" (the .addin manifest has to be in place before Revit starts or the addin fails to load properly). We do this for two prime reasons: loading speed when launching Revit and stability in general. We have tons of addins and it was slowing loading times considerably, especially on Citrix. Considering addins are only used occasionally, we needed a more "on-demand" process for loading them. This also gave us an entry point to see which addins are the most popular (we log loading data and visualize on a web portal). The second factor is stability: we were running into several issues where some addins caused file corruptions or instability, so by limiting what loads automatically when users are working, reduced the instance of these issues. Thanks. |
BTW beta3 resolved the issue @eirannejad :) Thanks a ton as always! |
@CuongVTC I can not replicate the issue here on my machine. Not sure why this is happening. It's got something to do with the assembly resolution not being able to find Nett.dll Maybe conflict with another addon |
@dbaldacchino Awesome! Phewww 😅! |
Describe the bug
Installed using the executable. The .addin manifest is placed in the user profile location and everything runs fine when opening Revit. We customize addin loading via a custom addin where we remove the original .addin manifest and drop it in the user profile if the user enables the addin. When doing this, I'm getting the following error with the latest version (4.7.1-beta2).
To Reproduce
Steps to reproduce the behavior:
Note that if I now leave the .addin manifest as is, then close and re-open Revit, pyRevit will load with no issues.
Expected behavior
pyRevit should load without issues
Screenshots
Please see above.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: