jshial
October 19, 2020, 8:35am
1
Hi community,
Just want to know how you would test a node made from Zero Touch?
Mine is like: Build => Opens up Revit => Dynamo => (import library if it’s the first time) => Run => Close out Dynamo & Revit => Debug => Build…
It’s tedious to me to close out Dynamo & Revit every time re-building is required. What is your practice on this?
Thx~~
In visual studio, put Revit as external application when you finish build and press start to check your code Revit will pop up and work to test.
1 Like
jshial
October 21, 2020, 9:43am
3
Thanks @ingenieroahmad
I don’t really mind to launch Revit myself or set it as an external app in VS to save the extra click. I’m working with a large model. Even if I simplify it into a smaller test model, very likely to miss some of details. Forcing me to that routine above, close, modify code, build and waiting model kicks in…
I don’t know if there’s any tools like Add-in Manager in Revit SDK, avoid exiting Revit every build.
I just found out there was discussion about this:
Hey guys, I’ve been getting started with Zero Touch node development but I wanted to know if there’s a better way to debug that I’m missing:
As I understand it now, every single time you want to load in a new version of your DLL file you have to fully exit both Dynamo and Revit and then restart both before the Revit process will let go of the DLL file. Is this really the case? Does anyone have any work arounds so that you don’t have to keep closing and opening Revit?
jean
October 23, 2020, 7:04am
4
hi @jshial have you tried yet ?
1 Like
jshial
October 28, 2020, 9:44am
5
@jean fantastic! Let me look into it. Thank u so much!