I am having trouble with a script that used to work on Revit 2019.2 (Refinery 0.9.4) but doesn’t on Revit 2020 (Refinery 0.35.0). I am sure the problem is related to the data.remember node since Refinery works fine if what is being calculated doesn’t require anything from Revit. It seems to me that the data.remember node isn’t actually remembering what was selected in Revit neither passing that info to Refinery.
I simplified my original script to prove my point. Here you can find the script and a screenshot from Refinery. As you can see, Refinery works fine calculating “Solid.Volume” which comes from geometry created within Dynamo, while “Area” is not calculated since it comes from geometry extracted from Revit; I tested this same script in Revit 2019.2 and both parameters are calculated.
20191101_Refinery-not-working.dyn (50.0 KB)
To clarify, the element selected in Revit is a floor, and the geometry extraction section gets one face of that floor and calculates the area. Originally I am doing this with other purpose but I simplified it to prove the point I am making here.
PD: I already read what has been discussed in this thread: Refinery shows no outputs in results