Geometry is uncomplete, why?

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 ?



How can i solve that?

is there a workaround ?

it should look like my masses!


SetBuildingSection.dyn (39.9 KB)
KR
Andreas

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

@leonard.moelders ,

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

KR

Andreas

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

1 Like

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?

@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

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

1 Like

@jacob.small ,

test.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

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

2 Likes

Hello, here is some info if it helps.

I got a message with a convoid complement


edit:message for convoid
image

Cordially
christian.stan

1 Like

@christian.stan ,

i have convoid too but not in this content

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

cordially
christian.stan

@christian.stan ,

coordinating Openings…

…look! i got this message!

grafik
i have to model “clean”… what ever it means

KR

Andreas

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

1 Like

@christian.stan ,

fine i can detect errors!


Massmodel is a mess

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

i rebuild the stuff more simple without losing the task


KR
Andreas

3 Likes

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

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

2 Likes