Method is not found

Method is not found

Anonymous
Not applicable
2,406 Views
7 Replies
Message 1 of 8

Method is not found

Anonymous
Not applicable

Revit Message tell me the method GetMinPoint has not been found. But, the method comes from a library that was me writting it. I found that taking the method to the plugin project code, it can work. So, I am very confused. It would be great if anyone could guide me on this. Thanks!

0 Likes
Accepted solutions (2)
2,407 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable

The class name is BoxUnit and the class is static, the method is extension method. 

0 Likes
Message 3 of 8

jeremytammik
Autodesk
Autodesk

You problem has next to nothing to do with the Revit API, so you will probably have better luck discussing it in a generic .NET forum instead of here. 

  

Please about read the basics on extension methods yourself first, e.g., https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/extension-metho... 

 

Good luck solving this. It is probably very simple.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 4 of 8

Anonymous
Not applicable
Accepted solution

The answer to this question mybe the case. I don't use the extension method to work, using simple method to do it. The revit message tell me the method don't load type. I don't trace the stack information and why. I have 3 years experience in C# program. If you can give me some experience on debugging this, I am very grateful for you!

0 Likes
Message 5 of 8

Moustafa_K
Collaborator
Collaborator

is it possible to show a reasonable code?

Moustafa Khalil
Cropped-Sharp-Bim-500x125-Autodesk-1
0 Likes
Message 6 of 8

Anonymous
Not applicable
Accepted solution

This answer is very recondite, my another plugin dependent dll version is different from this plugin's dependent dll verson. I removed all addin files in 2018 addins folder except for the plugin. some days ago, I encountered a similar question too.  Whether that sense of hard and found problems have a good way to solve it? If revit tell me the problem is that another dll dependents dll version is different from this plugin, I can quickly sovle it to replace telling me .net bottom layer exception information.

0 Likes
Message 7 of 8

Anonymous
Not applicable

If revit tell me the problem is that another dll dependents dll version is different from this plugin, I can quickly sovle it to replace telling me .net bottom layer exception information.

0 Likes
Message 8 of 8

Anonymous
Not applicable

This answer is very recondite, my another plugin dependent dll version is different from this plugin's dependent dll verson. I removed all addin files in 2018 addins folder except for the plugin. some days ago, I encountered a similar question too. Whether that sense of hard and found problems have a good way to solve it? If revit tell me the problem is that another dll dependents dll version is different from this plugin, I can quickly sovle it to replace telling me .net bottom layer exception information.

0 Likes