Unstructured grid with different type of elements (triangle and lines)

Maybe I could use UnstructuredGridGeometryFilter for each type of cells

What do you think?

Thank you