Advice to filter out error for Element.get_Solids : POLYCURVE_BRANCHED for Walls

Trying to bypass this error and am struggling. Its been a minute since i’ve used dynamo, This is what I am doing to get around this error, Any advice on something more efficient would be helpful. Revit 2023.1.3 Dynamo 2.16.2

Thanks,
Jason


Error.dyn (31.3 KB)

Use the Element.Location node to get the wall curve and then filter by object type as the type of the curve is causing the issue. Graph below shows how to check for multiple types.
Note the list levels on the != and List.AllTrue nodes

1 Like
  1. Keep geometry scaling on medium.
  2. Try to identify which element is causing the error and explore that thing - could it be a zero geometry element, or somethign with crazy thin shapes, or something with multiple overlapping inserts, or…
  3. Once you have the erroring element ‘oddity’ identified find a way to ‘restore sanity and function’ to the element, or otherwise work around it (Element.Faces, rebuild via the curves, create parts and pull those geometries and union them before removing the parts, etc.).

If you can’t work out step 3 feel free to post a .rvt here for the team to review.

1 Like

Thank you both. Took the walls with issues and copy pasted into a new file, no error. Turns out that multiple walls in multiple design options overlap an seem to be the issue. Ill filters those out or accept a design option in the model and report back if the error persist!!

2 Likes