For what it’s worth I’ve been able to add some functionality to the graph as well as rewrite most of it into Python.
After running the script, the User is presented with an input dialog window to specify two variables:
- Search String (searches all 3D Views for Name.Contains(Search String))
- Output Directory Location.
A Summary Dialog will present itself to the User (at end of script) with a click-able output Link, as well as a list of all Views that had attempted to export.
The Dyn exports NWC(s) for each view that it finds, to the specified Directory Location.
Then a Revit UI summary Dialog pops up with a link to the Directory Location, and reads off the list of all views that it attempted to export (if a view is void of content then it does not export an NWC for that view.)
It runs fine on my machine, however when I sent a copy to another machine and attempted to run it, it did not actually export any NWCs. It showed the Summary Dialog just as it should have (running through the Dynamo Player.)
I had to go into the editor and add/subtract an input to the NWC_Export python node, then it ran successfully.
Has anyone else run into this similar issue? If so, have you found a work-around? We’re running Revit 2020 and Dynamo Revit 18.104.22.16870
HELP_NWCs_OUT_V5.1.1.dyn (174.3 KB)
In previous revisions I had combined most of the nodes into one single Python node, but I was having reliability issues with that configuration. I’ve since pulled the Python node apart as well as isolate the Python nodes out of the individual Data-Shapes Multi-Input nodes so that other users won’t need to install any additional Packages (temporary work-around) for the Dyn to run. I don’t know if that is upsetting Dynamo for some reason.