In Place Mass voiding solid with no faces

In Place Mass voiding solid with no faces

GeomGym
Advocate Advocate
1,100 Views
4 Replies
Message 1 of 5

In Place Mass voiding solid with no faces

GeomGym
Advocate
Advocate

Hi,

 

Still looking at extracting geometry from a revit project.

If a user has modelled voids (to cut from a curving wall by face), then a solid reports zero faces and edges.

 

Here's the code I've attempted.  Can some one please help with how to identify this geometry?

 

Thanks in advance,

 

Jon

 

140121 revit solid with no faces.png

0 Likes
1,101 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
I don't know if a in-place void does have faces.. When I snoop the void, it also tells there are no faces or edges. What are you trying to achieve ? Do you need the cut-off volume ?
0 Likes
Message 3 of 5

GeomGym
Advocate
Advocate

Thanks for the reply.  I'd like to extract the faces (perimeter curves are fine for the time being as the faces are planar) so I can use the geometry in other software.

 

I hope there is a way of extracting them.

0 Likes
Message 4 of 5

Anonymous
Not applicable

Hello geogym,

 

I think I've got the solution. I took your drawing and drew a new wall next to it and then used snoop. It new wall had 6 faces and 12 edges. When I snoop your wall it has 9 faces and 18 edges, so the wall itself knows it faces.

 

So I guess with the example on the wiki you should be able to get the faces 🙂

 

faces and edges

 

0 Likes
Message 5 of 5

Joe.Ye
Alumni
Alumni

 

 

Revit didn't expose the API to read the in-place void family instance. 

As Remy pointed out, you can get the consequence of this void in-place family instance by its intersecting wall's geometry. 

 



Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
0 Likes