DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
334 stars 187 forks source link

Element.Geometry fails for a particular placed Room element #2588

Open cjmccrone opened 4 years ago

cjmccrone commented 4 years ago

Dynamo version

Dynamo for Revit 2021

Revit version

Revit 2021

Operating system

Windows 10

What did you do?

Attempt to extract the solid geometry from a Room element with Element.Geometry. It's usually unassailable, but didn't work. I've attached a Revit file for which one room fails with Element.Geometry but all others work. An attached Dynamo file references the problemmatic room, which is also indicated in the image below.

What did you expect to see?

a list containing a single item that was a solid.

What did you see instead?

empty list as a result plus an error I couldn't do anything about, with an error regarding some internal process called trim_with_edge_loops

Note that the Room.FinishBoundary does return nice, neat results as I would expect--groups of lines corresponding to each outline. I also verified that these outlines can be turned into closed polycurves without a problem, so it seems like there isn't anything wrong with at least some of the room's geometry from Revit.

RoomGeometry

Revit file: https://drive.google.com/file/d/1F5YVj08St0KmFUNnvyuA8KtIikyxSpZh/view?usp=sharing Dynamo file: https://drive.google.com/file/d/1PyViIiPdOTWekrd3SJGIckKqcHwsIBkL/view?usp=sharing

Zacharia2 commented 4 years ago

Me, too. Whatever you do, it's a mistake. You don't get the results you want

ZiyunShang commented 4 years ago

Hi @cjmccrone , I just take a look at your case. When making Dynamo geometry out of Revit geometry, there is a conversion step, and there are still a few existing edge condition shapes that we have trouble rebuilding in Dynamo.

You can get more info here: https://github.com/DynamoDS/DynamoRevit/issues/1960#issuecomment-380855068

gRanid commented 5 months ago

4 years have passed, the problem has not been solved