You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to test my plugin with this handler in 2022 but it always shows the following error when I click the handler button.
First, I thought it is a problem with my code but I found the same error happens with any addin. I checked the handler code and I found the error happens in this line which parse each addin
The error happens if an addin has a wrong encoding. Actually, I found the reason is Autodesk.RobotStructuralAnalysysLink.Application.addin is encoded as UTF-8 but says UTF-16 as shown below. If I remove this file, the handler and my addin will work fine.
I am trying to test my plugin with this handler in 2022 but it always shows the following error when I click the handler button.
First, I thought it is a problem with my code but I found the same error happens with any addin. I checked the handler code and I found the error happens in this line which parse each addin
design.automation-csharp-revit.local.debug.tool/DesignAutomationHandler.cs
Line 22 in 058947b
The error happens if an addin has a wrong encoding. Actually, I found the reason is Autodesk.RobotStructuralAnalysysLink.Application.addin is encoded as UTF-8 but says UTF-16 as shown below. If I remove this file, the handler and my addin will work fine.
I guess the way to solve this is to wrap the code in
foreach
in atry-catch
blockThe text was updated successfully, but these errors were encountered: