Salome HOME
[bos #40653][CEA] New mesh import export formats with meshio.
[modules/smesh.git] / idl / SMESH_Gen.idl
index a36e30d3e39457945b8fad057832747472adb85c..f3bf7f4542c6fe5304318c34c150ebda0ceeef22 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -250,7 +250,7 @@ module SMESH
      * with TopoDS_Shapes
      * The mesh is a parallel one
      */
-    SMESH_Mesh CreateParallelMesh( in GEOM::GEOM_Object theObject )
+    SMESH_ParallelMesh CreateParallelMesh( in GEOM::GEOM_Object theObject )
       raises ( SALOME::SALOME_Exception );
     /*!
      * Create an empty mesh object
@@ -294,6 +294,14 @@ module SMESH
                                     in boolean              theMakeRequiredGroups,
                                     out SMESH::ComputeError theError)
       raises ( SALOME::SALOME_Exception );
+
+    /*!
+     * Create a mesh and import data from any file supported by meshio library
+     */
+    mesh_array CreateMeshesFromMESHIO(in string theFileName,
+                                      out SMESH::DriverMED_ReadStatus theStatus)
+      raises (SALOME::SALOME_Exception);
+
     /*!
      * Create a dual mesh of a Tetrahedron mesh
      *  \param mesh - TetraHedron mesh to create dual from