Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL10494 (SMESH python dump uses idl interface). Python dump using TPythonDump tool
[modules/smesh.git]
/
src
/
StdMeshers_I
/
StdMeshers_Deflection1D_i.cxx
diff --git
a/src/StdMeshers_I/StdMeshers_Deflection1D_i.cxx
b/src/StdMeshers_I/StdMeshers_Deflection1D_i.cxx
index 0f3f4a942e7a122538cd0b9fd41a2eda66f03f02..72a715d81e5e187680547ef54cfa57a9f3d13307 100644
(file)
--- a/
src/StdMeshers_I/StdMeshers_Deflection1D_i.cxx
+++ b/
src/StdMeshers_I/StdMeshers_Deflection1D_i.cxx
@@
-31,6
+31,7
@@
using namespace std;
#include "StdMeshers_Deflection1D_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
#include "StdMeshers_Deflection1D_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Gen.hxx"
+#include "SMESH_PythonDump.hxx"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
#include "Utils_CorbaException.hxx"
#include "utilities.h"
@@
-92,11
+93,7
@@
void StdMeshers_Deflection1D_i::SetDeflection( CORBA::Double theValue )
}
// Update Python script
}
// Update Python script
- TCollection_AsciiString aStr, aStrVal ((double)theValue);
- SMESH_Gen_i::AddObject(aStr, _this()) += ".SetDeflection(";
- aStr += aStrVal + ")";
-
- SMESH_Gen_i::AddToCurrentPyScript(aStr);
+ SMESH::TPythonDump() << _this() << ".SetDeflection( " << theValue << " )";
}
//=============================================================================
}
//=============================================================================