-
Notifications
You must be signed in to change notification settings - Fork 132
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
Failed to load IFC file: failed to load Xbim.Geometry.Engine64.dll #479
Comments
What is the exact error message? |
The exact message is "Failed to load IFC file: failed to load Xbim.Geometry.Engine64.dll" |
Which version of Revit is this? Or is it multiple? I'm assuming you've ruled out the usual deployment issues that can cause this issue: #312 (comment) In Revit is sometimes due to a clash of dependencies with other addins loaded into revit. E.g. your addin and another each use Microsoft.Extensions.Logging but with different versions and you can get assembly binding issues that cause the xbim dlls to fail to load. Try unloading other addins to test. A useful tool to see what is going on is Microsoft's fuslogvw |
Sorry for the late response. I am using Revit 2024. Also, I have made sure that all my .dll files are up to par with the ones that Revit is using. Currently I am using addin manager and then loading up my addin using it. I tried using fuslogvw however nothing is coming up. |
|
Are you sure you enabled fuslogvw? You need to turn it on to log failed assembly bindings. You can't tell anything from that stack trace. Fuslogvw will tell you what assembly actually failed to bind. In all likelihood it is the ILogger though. |
You may try also #312. This ensures to copy correct .dll in output folder after build. But your problem can be different.
Make you sure that for this file you use property: |
@andremansour Did you get this resolved? |
I am trying to create a revit plugin using xbim. I want to load an ifc file to a model viewer using WPF and xbim
however I am getting the following error:
Failed to load IFC file: failed to load Xbim.Geometry.Engine64.dll
here are the versions of the packages I am using:
Xbim.Common version=6.0.445
Xbim.Geometry version=5.1.437
Xbim.Geometry.Engine.Interop version=5.1.437
Xbim.Ifc version=6.0.445
Xbim.Ifc2x3 version=6.0.445
Xbim.Ifc4 version=6.0.445
Xbim.IO.MemoryModel version=6.0.445
Xbim.ModelGeometry.Scene version=5.1.437
Xbim.Tessellator version=6.0.445
Xbim.WindowsUI version=5.1.228
I have tried to add the Xbim.Geometry.Engine64.dll to the project but it still doesn't work.
here is my code for loading the ifc file:
xaml
xaml.cs
The text was updated successfully, but these errors were encountered: