How to get the area of a surface from generic model with dynamo?

How to get the area of a surface from generic model with dynamo?

BBV90
Enthusiast Enthusiast
8,501 Views
7 Replies
Message 1 of 8

How to get the area of a surface from generic model with dynamo?

BBV90
Enthusiast
Enthusiast

Hello, I am trying to get the area of one face from my generic model families. I got it with material takeoff at the beginning but now the model is getting bigger and I need to do this at ones with dynamo. I wrote a script where I get to select the surface I want, but I can't get dynamo to give me the area of the selected surfaces. You can see my different trials to get the area where the nodes are not connected.

0 Likes
Accepted solutions (1)
8,502 Views
7 Replies
Replies (7)
Message 2 of 8

barthbradley
Consultant
Consultant

Why not just Paint the Surfaces?  

0 Likes
Message 3 of 8

BBV90
Enthusiast
Enthusiast

I did but Im continuing with the project and i have to many surfaces, it takes a lot of time. There should be a easier way to do them all at once. 

0 Likes
Message 4 of 8

constantin.stroescu
Mentor
Mentor

I think that it can be done roughly like in my example: Categories >All Elements of Categories > Element Faces > Surface Areas......each face has a number in the List and a corespondent Area....Click on the List number and the Face will be highlighted ...so we'll be able to find this with ease....

Image 1.png

 

Image 2.png

 

Image 3.png

 

 

Image 4.png

 

Constantin Stroescu

EESignature

0 Likes
Message 5 of 8

BBV90
Enthusiast
Enthusiast

Hey, thank you for the response 

I tried this method but as you can see in the image, two nodes gave an error and also my whole model didn't transfer in dynamo. For the rest of the untransferred surfaces, I don't get the result. Ekran Alıntısı.JPG

0 Likes
Message 6 of 8

constantin.stroescu
Mentor
Mentor
Accepted solution

I can give an example of how I was able to overcome in a situation that seems to be the same with yours...

  • There were some faces that when selected turnout to be null, and by consequence they do could not be used in Area Sum operation ( the curved surface on the top of the Window)
  • I had to find other way to solve the problem...In my case it works to create new Surfaces By Loft, using two Edges (Curves) as reference...
  • This Area Sum can be add then to the Areas calculated by selecting Faces..

Image 1.png

Constantin Stroescu

EESignature

0 Likes
Message 7 of 8

BBV90
Enthusiast
Enthusiast

This worked better, I tried with "select edges" and "select faces" both seem to work. Now, do you think I can get to see the names of the Generic Models for the given areas?Ekran Alıntısı.JPG

0 Likes
Message 8 of 8

constantin.stroescu
Mentor
Mentor

maybe something like this?

Image 3.png

Constantin Stroescu

EESignature

0 Likes