#include "SMESH_PythonDump.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Filter_i.hxx"
+#include "SMESH_MeshEditor_i.hxx"
#include "SMESH_2smeshpy.hxx"
#include <TColStd_HSequenceOfInteger.hxx>
TPythonDump& TPythonDump::operator<<(SMESH_MeshEditor_i* theArg)
{
- myStream << MeshEditorName(); return *this;
+ myStream << MeshEditorName() << "_" << ( theArg ? theArg->GetMeshId() : -1 ); return *this;
}
TPythonDump& TPythonDump::operator<<(const TCollection_AsciiString & theStr)
CORBA::Long NodeID2OfSide1ToMerge,
CORBA::Long NodeID2OfSide2ToMerge);
+ int GetMeshId() const { return _myMesh->GetId(); }
+
private:
SMESHDS_Mesh * GetMeshDS() { return _myMesh->GetMeshDS(); }
SMESH_Mesh *_myMesh;