-// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// 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();
}