Hi, when I used Element.Faces to get the element faces there was an error called
Element.get_Faces operation failed. PolyCurves may be branching. I tried to change the geometry working range from small to extra large as suggested by other posts but all of the four ranges could not work.
I wrote some python scripts to capture the error elements as below.
import sys import clr clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import * elements = IN faces =  errors =  for element in elements: try: faces.append(element.Faces) except: errors.append(element) OUT = faces, errors
It showed that there are three error elements as below. But they look so normal…
Any solutions to this problem? Thanks!
Revit model and dynamo file:
dynamo.dyn (18.1 KB)