Intersect Geometry

I have a problem with calculate area surface. I gave these two objects intersection and received the line. I want from these lines to calculate the area of intersection. Can you help me?

Join your curves with PolyCurve.ByJoinedCurves then create the surface with Surface.ByPatch. You can get the surface area of any surface with Surface.Area.

1 Like

@D.JohnWick Seems like you’re intersecting two polysurfaces.
Instead, convert one of the two objects to a solid (using Solid.ByJoinedSurfaces)
The result of the intersection between a solid and a polysurface objects would most likely be a surface, the area of which you should be able to obtain.


It works as I expected. Thank you very much.

1 Like

It works as I expected. Thank you very much.

Hi @Vikram_Subbaiah @Nick_Boyts
Have any way to remove the color of this value? I want to filter these surface item but still keep index correspand these objects are intersected. Sorry for my english.

@D.JohnWick Wouldn’t serve any real purpose, but if you don’t like the yellow you could do something like this…

1 Like

Hi @JacobSmall, i know you who is a professionall dynamo. Can you help me this issue? I really need to resovle it

Not a ‘professional’ in comparison to @Vikram_Subbaiah. I just tinker with the stuff he and others do, just have a bit more experience doing that than most.

Also I am not sure I understand the issue. Everything is working as I would expect. If you don’t want to return ‘null’ for items with no surface area what would you like to return?

1 Like

It is error. I do not know where I got confused

To fix that code block remove the “.Area” so it reads

You already have the areas in the surface.area node - pulling the values a second time is causing the issue.

1 Like

Hi @JacobSmall I still can not do it.

Odd… try the list.clean node instead. First input is your list second is a ‘true’ boolean.

Toggle the Boolean to true. It’s false at the moment.

1 Like

I want to surface.area no yellow color.

Try this …

Hi @Vikram_Subbaiah . I tried but it isn’t my expected.
Thanks for your help

Generate a sample DYN which reproduces the surfaces and areas for me and I’ll try and squeeze something in later tonight (~9pm est) if I can. To be clear I don’t want to have to work with the revit file or getting elements from a revit file. Rebuild a similar set of data using native dynamo functions.

Sorry.I do not know how to create a native dynamo function.Excuse me, Could you to work with revit file? Link below:
Revit file :
Dynamo file : Test.JacobSmall.dyn (11.9 KB)
Sorry for the inconvenience.