X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Mesh.idl;h=bfbb0cdd57eee4bacb548cd7d1599088bbe99278;hp=070732b256ef4964e578997e2beedae3de9aac2e;hb=f4764708fe85e2b2ef298edb8e392e2540564cd1;hpb=0a447a3701c9274833f0964516261bcdfe7bbbb5 diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index 070732b25..bfbb0cdd5 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 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 @@ -657,15 +657,14 @@ module SMESH * - 3D in the rest cases. * If @a autoDimension is @c false, the space dimension is always 3. */ - void ExportMED( in string fileName, - in boolean auto_groups, - in long version, - in boolean overwrite, - in boolean autoDimension) raises (SALOME::SALOME_Exception); + void ExportMED( in string fileName, + in boolean auto_groups, + in long version, + in boolean overwrite, + in boolean autoDimension) raises (SALOME::SALOME_Exception); - long long ExportMEDCoupling(in boolean auto_groups, - in boolean autoDimension - ) raises (SALOME::SALOME_Exception); + long long ExportMEDCoupling(in boolean auto_groups, + in boolean autoDimension) raises (SALOME::SALOME_Exception); /*! * Export a [part of] Mesh into a MED file @@ -694,6 +693,7 @@ module SMESH * - ZTolerance : tolerance in Z direction. If Z coordinate of a node is close to zero * within a given tolerance, the coordinate is set to zero. * If @a ZTolerance is negative, the node coordinates are kept as is. + * - saveNumbers : enable saving numbers of nodes and cells. */ void ExportPartToMED( in SMESH_IDSource meshPart, in string fileName, @@ -703,27 +703,22 @@ module SMESH in boolean autoDimension, in GEOM::ListOfFields fields, in string geomAssocFields, - in double ZTolerance) raises (SALOME::SALOME_Exception); + in double ZTolerance, + in boolean saveNumbers) raises (SALOME::SALOME_Exception); long long ExportPartToMEDCoupling( in SMESH_IDSource meshPart, - in boolean auto_groups, - in boolean autoDimension, - in GEOM::ListOfFields fields, - in string geomAssocFields, - in double ZTolerance) raises (SALOME::SALOME_Exception); + in boolean auto_groups, + in boolean autoDimension, + in GEOM::ListOfFields fields, + in string geomAssocFields, + in double ZTolerance, + in boolean saveNumbers) raises (SALOME::SALOME_Exception); - /*! - * Export Mesh to SAUV formatted file - * Write a temporary med file and use med2sauv - */ - void ExportSAUV( in string file, in boolean auto_groups ) - raises (SALOME::SALOME_Exception); - /*! * Return string representation of a MED file version comprising nbDigits */ string GetVersionString(in long minor, in short nbDigits); - + /*! * Return the list of med versions compatibles for write/append, * encoded in 10*major+minor (for instance, code for med 3.2.1 is 32) @@ -734,8 +729,10 @@ module SMESH * Export Mesh to different Formats * (UNV supported version is I-DEAS 10) */ - void ExportDAT( in string file ) raises (SALOME::SALOME_Exception); - void ExportUNV( in string file ) raises (SALOME::SALOME_Exception); + void ExportDAT( in string file, + in boolean renumer) raises (SALOME::SALOME_Exception); + void ExportUNV( in string file, + in boolean renumer ) raises (SALOME::SALOME_Exception); void ExportSTL( in string file, in boolean isascii ) raises (SALOME::SALOME_Exception); void ExportCGNS( in SMESH_IDSource meshPart, @@ -746,9 +743,11 @@ module SMESH in string file, in boolean withRequiredGroups) raises (SALOME::SALOME_Exception); void ExportPartToDAT( in SMESH_IDSource meshPart, - in string file ) raises (SALOME::SALOME_Exception); + in string file, + in boolean renumer ) raises (SALOME::SALOME_Exception); void ExportPartToUNV( in SMESH_IDSource meshPart, - in string file ) raises (SALOME::SALOME_Exception); + in string file, + in boolean renumer ) raises (SALOME::SALOME_Exception); void ExportPartToSTL( in SMESH_IDSource meshPart, in string file, in boolean isascii ) raises (SALOME::SALOME_Exception); @@ -1099,7 +1098,7 @@ module SMESH raises (SALOME::SALOME_Exception); /*! - * Get the internal Id + * Get the internal persisten Id */ long GetId(); };