typedef map< pair<string, SMESH::ElementType>, TListOfNewGroups > TGroupsMap;
typedef std::set<SMESHDS_GroupBase*> TGroups;
+ TPythonDump aPythonDump; // prevent dump of called methods
+
// create mesh
SMESH::SMESH_Mesh_var aNewMesh = CreateEmptyMesh();
- // to update Python script
- TPythonDump aPythonDump;
-
if ( !aNewMesh->_is_nil() ) {
SMESH_Mesh_i* aNewImpl = dynamic_cast<SMESH_Mesh_i*>( GetServant( aNewMesh ).in() );
if ( aNewImpl ) {
}
// Update Python script
- RemoveLastFromPythonScript( GetCurrentStudyID() );
aPythonDump << aNewMesh << " = " << this << ".Concatenate(";
aPythonDump << "[";
for ( int i = 0; i < theMeshesArray.length(); i++) {
}
aPythonDump << "], ";
aPythonDump << theUniteIdenticalGroups << ", "
- << theMergeNodesAndElements << ", "
- << theMergeTolerance << ")";
+ << theMergeNodesAndElements << ", "
+ << theMergeTolerance << ")";
return aNewMesh._retn();
}