Geometry does intersect

Hi,

im trying to make this node Geometry.DoesIntersect work. What I guess that happens is that somehow I have to tell Dynamo which is the Geometry of the element.
I attach a pic of the node and the both elements I want to intersect (red and green).


image

Hi,

Geometry.DoesIntersect takes two geometries as inputs. You are passing FamilyInstance objects.

I guess using Element.Geometry should work…

True, a family does not necessary have a geometry. For us, when we say “we created a new revit family” we often refer to a geometrical element in the model. But a family is nothing more that a bunch of parameters. Dynmao want you to extract the geometrical content contained in your family first.

Thanks @mellouze and @MathieuD, its working now !