[Python] How can I access sub-surfaces inside a polysurface?

RhinoScriptSyntax or RhinoCommon?
What method?
Does it exist?

Depends a bit on exactly what you’re doing, but probably this:

https://developer.rhino3d.com/5/api/RhinoCommonWin/html/P_Rhino_Geometry_Brep_Surfaces.htm

Or this:

https://developer.rhino3d.com/5/api/RhinoCommonWin/html/P_Rhino_Geometry_Brep_Faces.htm

Edit: Just remembered this old post by David, might be helpful here in terms of the terminology:

1 Like

I’m trying to loop over all objects and extrude each based on some criteria.
However when my script stumbles onto a polysurface the extrude is only applied to a single sub-surface.