I m trying to add calculated Dimension.Below values.
Like shown in the picture below (this is what im trying to automate, its done by hand here to show what im trying to achieve)
The problem is that the input for the calculation is variable.
See the picture below
I allready have a bit of python which can set a certain value for every dimension but the values for the dimensions vary now. (Got the code from here: Add Dimension Prefix for all similar type in the Project)
On top of that it seems that Dynamo takes dimension values imperial and i need metric.
Here is a part of the script to show what i got so far
Any help is greatly appriciated
EDIT: I have shown values in excel, but i dont want to use excel. i want to keep it all in Revit / Dynamo / Python if possible