When ElumTools is run along side another Revit Addin that uses the 7-Zip library, conflicts can occur.
The main problem. ElumTools throws an error after each calculation is complete, indicating that the program failed to compress the Radiosity Solution File (RSF) (and, thus, failed to save the RSF back to the Revit file). This problem can occur whenever another Revit Addin loads the 7-Zip libraries before ElumTools has a chance to do so.
One such problematic application is Relux's new Revit Addin (Revit versions 2016, 2017, 2018).
The problem will be fixed in the next update of ElumTools (release date TBD). Once the update is available, users will simply need to run the installer.
Until the update can be released, a few options exist.
Uninstall the Relux Addin when working with ElumTools.
If uninstalling Relux is a significant inconvenience, you can simply disable it by performing the following steps.
1. Close Revit
2. Navigate to C:\ProgramData\Autodesk\ApplicationPlugins\ReluxCADforRevit.bundle\Contents\Windows
3. Open the “App” folder for the Revit version you are using.
4. Change the file name for RlxRevitAddin.addin to RlxRevitAddin.addin.OFF
5. Open Revit. Relux will no longer be there.
6. When you’re ready to use Relux again, just repeat the process and revert the file back to its original name.
Do nothing. The only real problem created by the conflict is that ElumTools cannot send the Rendering back to Revit, after the calculation completes. This means the View Rendering command will not work properly. But if you close out of the error, you will find everything else will work as expected.
Could not store radiosity solution file entity on element.
System.TypeInitializationException: The type initializer for 'Lai.Core.Compression7z' threw an exception. ---> SevenZip.SevenZipLibraryException: Can not load 7-zip library or internal COM error! Message: can not change the library path while the library "C:\ProgramData\Autodesk\ApplicationPlugins\ReluxCADforRevit.bundle\Contents\Windows\APP_2017\RlxRevitAddin\..\..\COMMON\unmanaged\7z.dll" is being used.
at SevenZip.SevenZipLibraryManager.SetLibraryPath(String libraryPath)
--- End of inner exception stack trace ---
at Lai.Core.Compression7z.Compress(FileInfo file, Options options)
at ElumTools.ExtensibleStorage.SetRadiositySolutionFile(Element element, String sourceFilePath)
ElumTools 2017 Release 7 (2017.7.0.8)
7561 [2017-10-11 13:03 (-06:00 UTC)]