Hi all,
I am on Revit version 24.3.20.34, and Dynamo version 2.19.4.13096.
I had a script in 2023 which worked as intended - not necessary to explain what it does exactly, but the problem when used in 2024 is as follows.
The script has a “String input” node and a “Select Multiple Model Elements” input node. In the string node the user fills in a desired value and with the select node the user selects multiple elements in the model. When the script is then ran, it fills a certain parameter with the desired value from the string node.
This still works as intended. But here comes the problem.
When the user selects another/new set of elements and fills in a different string value and then runs the script, it fills the new value to the newly selected set of elements, but also overrides the value of the previously selected set of elements.
This is very annoying as the user has to exit the script and open it again in order for Dynamo to forget the selection. The same behaviour is also observed when using the script through the Dynamo player.
Is there a way to overcome this issue? In Revit 2023 you can run the script multiple times without exiting and it only fills the values for newly selected set of elements.
Any advice is appreciated!