The majority of my scripts use the OOTB Categories node however I’ve noticed an issue with the behaviour of this node. I save my scripts with the correct Category selected from the dropdown list within the Categories node, however when I re-open the script at a later date, the default category selected in the Categories node has automatically changed, and now displays a random category by default - causing my scripts to fail.
In the example above, I’d saved the 2 Categories node inputs as Reference Plans and Scope Boxes, however they load up as Roofs - Substrate  and Ramps - DOWN text.
I’ve figured a workaround to “lock” the category by using the method below:
Whilst this works, it will take a fair amount of time to go through all my scripts and fix. I was wondering if anybody knew the cause of this or any alternative way to “lock” the input of a node with a dropdown list, or if anyone uses any other workarounds to avoid this issue.
On a side note, we recently upgraded from revit 2018.3 to 2020 and I was wondering if this could have cause this behaviour.
Any advice/comments would be greatly appreciated!