Wall/floor gross area and opening area

Hello everyone,

Does anybody know a dynamo script that obtains the gross area of a wall/floor and writes it into a instance shared parameter? and the same for the openings area.

There was a revit app that made that but it is now removed.

image