I've been trying to store faces from combined objects using getTriangles method, but I think I'm using it wrong..
to reproduce the issue, duplicate a sphere, move it a little so you can see, and combine it into a single object, name it as "combined_mesh" then:
sel = OpenMayaApi.MSelectionList()
sel.add("combined_mesh")
_dag = sel.getDagPath(0)
_mesh = OpenMayaApi.MFnMesh(_dag)
_, triangles_idx = _mesh.getTriangles()
_, mObject = sel.getComponent(0)
mfn_components = OpenMayaApi.MFnSingleIndexedComponent(mObject)
mfn_object = mfn_components.create(OpenMayaApi.MFn.kMeshPolygonComponent)
mfn_components.addElements(triangles_idx)
selection_list = OpenMayaApi.MSelectionList()
selection_list.add((_dag, mfn_object))
OpenMayaApi.MGlobal.setActiveSelectionList(selection_list)
thanks guys.