Replies: 7 comments 5 replies
-
Thank you! That looks great! Can it be more fully automated? Otherwise, publishing this will require precise documentation to make it completely fool-proof... I can add it to the blog as you describe it... is this using the current release 2024.0.8? I am writing a blog post to announce the release, and I could easily add this note as well. |
Beta Was this translation helpful? Give feedback.
-
aha. would you like to (a) wait for @Nice3point to say what he thinks and (b) add a pull request to integrate your custom version? |
Beta Was this translation helpful? Give feedback.
-
I'll think about an API option based on @ricaun and @CADBIMDeveloper wishes #171 We need to make an API that will cover different uses, I'll get to it this weekend or next week |
Beta Was this translation helpful? Give feedback.
-
@ricaun We can add an API to the NUGET package to avoid using reflection |
Beta Was this translation helpful? Give feedback.
-
No, I do not have the possibility to publish anything officially as Autodesk. Furthermore, I have been asking for at least five years to publish RevitAPI.dll and RevitAPIUI.dll on NuGet. Everybody I discuss this with says, yes, sure, good idea. However, nothing happens. Hundreds of other developers are forced to publish their own unofficial copies. Occasionally, someone at Autodesk complains about that, and question whether it is legal. Snafu, totally. Sorry, but that seems to be the way it is. |
Beta Was this translation helpful? Give feedback.
-
Yes, the package probably should be better and other features could be added as well, but is more work and another project to maintain... In this case, just opening the Snoop Navigate gonna work fine with reflection, I kinda prefer to have a utility class without any strong reference to some dll. I never used a plugin to talk to another as a service like that, I know Revit Api there is a way to create ExternalService but never tested and don't know if fits. I could add the RevitLookup.dll as a reference and right now gonna work. 😆 |
Beta Was this translation helpful? Give feedback.
-
Yes, I think external services are for Revit BIM specific functionality. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I was experimenting to make it possible for my plugin to open RevitLookup with my custom object, so I can snoop and debug or something like that.
I add the following code in the main RevitLookup code so my application easily could use reflection and snoop my custom class.
And I'm using the code below in my plugin.
Here is a video: https://youtu.be/fApLw-kaOOM
🙂
Beta Was this translation helpful? Give feedback.
All reactions