Aera Macros

Hi everybody,

I’m new on the forum so excuse me if I do anything wrong.

I’m an architecte drawing plans on Rhno and I’m looking for a way to create a macro that could be able to select a specific layer (this layer is composed by closed curve only and is used to calculate all the area of rooms in a appartement) (I manage to do it easily), and create a table with all the aera of all my spaces in a model.

I know it’s possible to do this on autocad and it’s very usefull for architectes.

My problem for now is that it’s impossible to calculate aeras of multiple objects seperatly. Anyone have an idea ?
Problem n°2 : How to create a command that ask you to create a table with question : set origine point and end point

Thanks a lot,

Best Regards,

Jérémy

https://www.youtube.com/watch?v=aEmvJ4rPau8

this videos show what i’m aiming at 1’14’’