Automatic Dimensions using dynamo

This one for example is for walls

https://forum.dynamobim.com/t/automatic-dimension-walls/6970