// File : SMESH_Pattern_i.cxx
// Created : Fri Aug 20 16:15:49 2004
// Author : Edward AGAPOV (eap)
-// $Header:
//
#include "SMESH_Pattern_i.hxx"
#include <set>
using SMESH::TPythonDump;
+using SMESH::TVar;
//=======================================================================
//function : dumpErrorCode
// Update Python script
TPythonDump() << "pattern.ApplyToMeshFaces( " << theMesh << ".GetMesh(), "
<< theFacesIDs << ", "
- << theNodeIndexOnKeyPoint1 << ", " << theReverse << " )";
+ << TVar( theNodeIndexOnKeyPoint1 ) << ", " << theReverse << " )";
return points._retn();
}
// Update Python script
TPythonDump() << "pattern.ApplyToHexahedrons( " << theMesh << ".GetMesh(), "
<< theVolumesIDs << ", "
- << theNode000Index << ", " << theNode001Index << " )";
+ << TVar(theNode000Index) << ", " << TVar(theNode001Index) << " )";
return points._retn();
}