Im new here - hope you guys can help me.
I’ve created a script for calculating areas for apartments with their share of the stairs. Thats because we share the stair areas to the serving apartments in the early stages of projects.
In order to make this script i made 2 shared parameters in Revit - one for which staircase the apartment belongs to and one for the area plus the share from the stair.
All of this works fine for me, and it calculates the areas correctly. BUT when I remove one apartment from the calculation by removing the text for ‘belonging to staircase X’ for example it still keeps the value it calculated before. Så the tag i made still shows the area before.
Is there a way to reset them? So the parameter is empty?