Identify elements that has atleast one face on the surface

Options

Greetings! My objective is to retrieve elements that feature at least one surface face. To achieve this, I attempted using the following instructions:

skinOp = dpf.operators.mesh.skin(mesh)

skin_mesh = skinOp.outputs.mesh()

However, the above commands yield surface elements that have been converted to 2D elements. The original elements in 'mesh' were 3D elements (Tet4), whereas the resulting 'skin_mesh' contains 2D (Tri3) elements that are not what I am looking for. Is there a way to obtain the surface elements as a meshed region while preserving the original element type? Thank you.

Tagged: