mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
Fix dump of ExportGMF() and ExportCGNS()
This commit is contained in:
parent
8944375f22
commit
252161f517
@ -3025,8 +3025,8 @@ void SMESH_Mesh_i::ExportCGNS(::SMESH::SMESH_IDSource_ptr meshPart,
|
|||||||
SMESH_MeshPartDS partDS( meshPart );
|
SMESH_MeshPartDS partDS( meshPart );
|
||||||
_impl->ExportCGNS(file, &partDS);
|
_impl->ExportCGNS(file, &partDS);
|
||||||
|
|
||||||
TPythonDump() << _this() << ".ExportCGNS( r'"
|
TPythonDump() << _this() << ".ExportCGNS( "
|
||||||
<< file << "', " << overwrite << ", "<< meshPart<< ")";
|
<< meshPart<< ", r'" << file << "', " << overwrite << ")";
|
||||||
#else
|
#else
|
||||||
THROW_SALOME_CORBA_EXCEPTION("CGNS library is unavailable", SALOME::INTERNAL_ERROR);
|
THROW_SALOME_CORBA_EXCEPTION("CGNS library is unavailable", SALOME::INTERNAL_ERROR);
|
||||||
#endif
|
#endif
|
||||||
@ -3051,8 +3051,7 @@ void SMESH_Mesh_i::ExportGMF(::SMESH::SMESH_IDSource_ptr meshPart,
|
|||||||
SMESH_MeshPartDS partDS( meshPart );
|
SMESH_MeshPartDS partDS( meshPart );
|
||||||
_impl->ExportGMF(file, &partDS);
|
_impl->ExportGMF(file, &partDS);
|
||||||
|
|
||||||
TPythonDump() << _this() << ".ExportGMF( r'"
|
TPythonDump() << _this() << ".ExportGMF( " << meshPart<< ", r'" << file << "')";
|
||||||
<< file << "', "<< meshPart<< ")";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
@ -5051,3 +5050,5 @@ _GET_ITER_DEFINE( SMDS_VolumeIteratorPtr, volumesIterator, SMDS_MeshVolume, SMDS
|
|||||||
// END Implementation of SMESH_MeshPartDS
|
// END Implementation of SMESH_MeshPartDS
|
||||||
//
|
//
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user