Salome HOME
Updated copyright comment
[modules/shaper.git] / src / PythonAddons / addons_Features.py
index 710ed3624bf3491e71004f90e16d56064a64387c..b75e421ecec143adfcdd9a7a80dc10870cb76f27 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2023  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -23,6 +23,7 @@ import ModelAPI
 from macros.rectangle.feature import SketchPlugin_Rectangle
 from macros.compoundVertices.feature import compoundVertices
 from macros.importParameters.feature import importParameters
+from macros.midSurface.feature import midSurface
 from macros.pipeNetwork.feature import pipeNetwork
 
 
@@ -49,6 +50,8 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin):
             aFeature = compoundVertices().__disown__()
         elif theFeatureID == importParameters.ID():
             aFeature = importParameters().__disown__()
+        elif theFeatureID == midSurface.ID():
+            aFeature = midSurface().__disown__()
         elif theFeatureID == pipeNetwork.ID():
             aFeature = pipeNetwork().__disown__()
         else: