]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix importParameters plugin
authorNATHALIE GORE <ng13417n@dsp0897499.atlas.edf.fr>
Fri, 9 Aug 2019 14:03:12 +0000 (16:03 +0200)
committervsv <vsv@opencascade.com>
Wed, 6 Nov 2019 08:22:43 +0000 (11:22 +0300)
src/PythonAddons/addons_Features.py

index 1bb7354a99c9d5f454ff06fe04c9a9e2af30b8a2..3da8b8f1efd9d9f6e7adf275c64e258bc1e16076 100644 (file)
@@ -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.box.feature import BoxFeature
 
 
@@ -47,6 +48,8 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin):
             aFeature = SketchPlugin_Rectangle().__disown__()
         elif theFeatureID == compoundVertices.ID():
             aFeature = compoundVertices().__disown__()
+        elif theFeatureID == importParameters.ID():
+            aFeature = importParameters().__disown__()
         elif theFeatureID == BoxFeature.ID():
             aFeature = BoxFeature().__disown__()
         else: