Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was debugging my add-in when I got the following error.
Exception thrown: 'Autodesk.Revit.Exceptions.InternalException' in RevitAPI.dll
An exception of type 'Autodesk.Revit.Exceptions.InternalException' occurred in RevitAPI.dll but was not handled in user code
No valid type for the assembly instance.
I googled about Internal Exception and learned from thebuildingcoder.com that Internal Exceptions are to be passed back to Autodesk for diagnostics.
The error occurred at this location in my code:
AssemblyInstance assemblyInstance = AssemblyInstance.Create(doc, collection, categoryId); assemblyInstance.AssemblyTypeName = assemblyInteger.ToString();
Any help will be much appreciated!
Solved! Go to Solution.