This week I’ve been getting my Revit installation working again – it had been a while since I’d used it, and it was overdue an upgrade from 2021 to 2022 – mainly because I have to publish a couple of new packages (or package versions) to the Dynamo Package Manager.
The first is a minor update to the Space Analysis package, taking it from version 0.3.3 to version 0.4.0. There is a breaking change, however, in that people using the Visibility nodes from Python may have to modify their code to use the correct (newly added) namespace.
The reported error is quite clear, in that we have to modify line 9 of the Python script:
Adding “SpaceAnalysis.” as a prefix is the way to get the node properly resolved:
Saving the Python script and running it shows that it works fine:
Here’s the fixed version…