# Geometry is uncomplete, why?

**URL:** <https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868>\
**Category:** Revit\
**Created:** [April 24, 2023, 8:36am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868 "2023-04-24T08:36:45Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 24, 2023, 8:36am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/1 "2023-04-24T08:36:45Z")

</div>

Hello,

i want to count doors which are intersecting with a mass , for any reason my solid get not generated, why ? there is even any warning ?

 ![2023-04-24_10h32_49](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/5/85b011de2d075f264de077c2a2ff9eae233e4eac.jpeg)  
 ![2023-04-24_10h33_00](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/7/d78711dc03c934988d71ba1093571ffa27680016.jpeg)  
How can i solve that?

is there a workaround ?

it should look like my masses!

 ![2023-04-24_10h33_07](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/d/0d402b322f2eda5ff474ecc34bc4cfcaf88e7ace.png)  
[SetBuildingSection.dyn](https://forum.dynamobim.com/uploads/short-url/ohqIVPIZChkFiMSt7HxK8lfDg72.dyn) (39.9 KB)  
KR  
Andreas

---

<div class="post-metadata">

**Author:** ![leonard.moelders](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/leonard.moelders/32/108216_2.png) [@leonard.moelders](https://forum.dynamobim.com/u/leonard.moelders)\
**Post date:** [April 24, 2023, 9:57am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/2 "2023-04-24T09:57:13Z")

</div>

Have you tried generating only the missing solid? Maybe something is wrong with the geometries it consists of?

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 24, 2023, 9:58am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/3 "2023-04-24T09:58:49Z")

</div>

@leonard.moelders ,

when i select the mass it is just one! because i joined them. each volume contains 3 extrusions…

KR

Andreas

---

<div class="post-metadata">

**Author:** ![leonard.moelders](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/leonard.moelders/32/108216_2.png) [@leonard.moelders](https://forum.dynamobim.com/u/leonard.moelders)\
**Post date:** [April 24, 2023, 10:02am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/4 "2023-04-24T10:02:09Z")

</div>

OK, so the second picture shows the three volumes, right? What about not joining the volumes and making three single solids. Does this work?

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [April 24, 2023, 10:06am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/5 "2023-04-24T10:06:00Z")

</div>

Would need the rvt to know why, but my gut tells me this is because the massing was built in a way which makes an invalid shape in the Dynamo geometry engine.

Some of this has been cleaned up over the years - can you try 2024?

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 24, 2023, 10:07am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/6 "2023-04-24T10:07:31Z")

</div>

@jacob.small ,

it is just extrution… should i simblify the mass ? i can do that.

it is still confusing that the mass appears and the geometry not.

KR

Andreas

can`t try 2024, contract (BEP) is limited to 2022

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [April 24, 2023, 10:42am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/7 "2023-04-24T10:42:26Z")

</div>

Not sure what you can do with the mass as I don’t have it to review.

Rebuilding it as one extrusion would likely help, or bring the individual parts in as indicated by @leonard.moelders

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 24, 2023, 10:44am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/8 "2023-04-24T10:44:16Z")

</div>

@jacob.small ,

[test.rvt](https://forum.dynamobim.com/uploads/short-url/zhMoWFGR4TlR1qMIwdlsbFpL6QI.rvt) (1.3 MB)

i used this methode in a older project, it worked fine… sectioning a project in BuildingZones is a regualr process…

KR

Andreas

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [April 24, 2023, 11:23am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/9 "2023-04-24T11:23:51Z")

</div>

I’m trying to get my work desk set up today - will look into this when I do.

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [April 24, 2023, 11:24am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/10 "2023-04-24T11:24:10Z")

</div>

Hello, here is some info if it helps.

I got a message with a convoid complement

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/4/d48de119f82d1d7fd382c54057a5cab40dbf6c8e.png)  
edit:message for convoid  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/5/9553cf4bab5f26ceab12eae291c7b1f3c11cd6d6.png)

Cordially  
christian.stan

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 24, 2023, 11:28am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/11 "2023-04-24T11:28:48Z")

</div>

@christian.stan ,

i have convoid too but not in this content

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [April 24, 2023, 11:31am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/12 "2023-04-24T11:31:28Z")

</div>

I don’t have this tool, I don’t even know what it’s for.

cordially  
christian.stan

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 24, 2023, 11:34am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/13 "2023-04-24T11:34:43Z")

</div>

@christian.stan ,

coordinating Openings…

…look! i got this message!

![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/d/4d7152b5e5e21ce6304b136be89b77087cab47c3.png)  
i have to model “clean”… what ever it means

KR

Andreas

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [April 24, 2023, 11:43am UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/14 "2023-04-24T11:43:13Z")

</div>

Have you tried recovering Solid via Api? i think it should be possible  
I’ll try, I don’t guarantee success (still learning).  
Cordially  
christian.stan

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 24, 2023, 12:11pm UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/15 "2023-04-24T12:11:15Z")

</div>

@christian.stan ,

fine i can detect errors!

 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/3/c3463f3384a6ebf0eebb4fcf5ce4b55b2a05666a.png)  
Massmodel is a mess

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 24, 2023, 12:48pm UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/16 "2023-04-24T12:48:26Z")

</div>

@jacob.small @christian.stan @leonard.moelders ,

i rebuild the stuff more simple without losing the task

 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/8/a8adacd0c543a7ce3cf1396bee2fb32e0d14c997.jpeg)  
KR  
Andreas

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [April 24, 2023, 2:15pm UTC](https://forum.dynamobim.com/t/geometry-is-uncomplete-why/88868/17 "2023-04-24T14:15:30Z")

</div>

I tried things but I realize that I still have big gaps on the python part and also revit (I don’t see if those are solid subs or have something to do with the level of detail)  
sorry for not being able to do better

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/419408eb4aa64f41f999463b2add6881e8ae8864.png)

```auto
import sys
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
import Revit
clr.ImportExtensions(Revit.GeometryConversion)
clr.ImportExtensions(Revit.Elements)

obj=UnwrapElement(IN[0])
#geo of family
geo=obj.get_Geometry(Options())
#get enum
enum=geo.GetEnumerator()

next0=enum.MoveNext()
geo_sol0=enum.Current
#skip one
next1=enum.MoveNext()
geo_sol1=enum.Current
#skip one
next2=enum.MoveNext()
geo_sol2=enum.Current
#skip one
next3=enum.MoveNext()
geo_sol3=enum.Current

vol_1=geo_sol1.Volume*0.3048**3
vol_2=geo_sol2.Volume*0.3048**3
vol_3=geo_sol3.Volume*0.3048**3

geo1_dynamo=geo_sol1.ToProtoType()
geo2_dynamo=geo_sol2.ToProtoType()
geo3_dynamo=geo_sol3.ToProtoType()

OUT = obj,geo,type(geo),type(enum),[geo_sol0,geo_sol1,geo_sol2,geo_sol3],[vol_1,vol_2,vol_3],[geo1_dynamo,geo2_dynamo,geo3_dynamo],vol_1+vol_2

```

I manage to find the volume but hey it’s not what you were looking for  
Cordially  
christian.stan
