X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAddons%2Faddons_Features.py;h=bdafa15175d1ee117315bd3e8a4c34e96da22fd6;hb=a211165b993cec59888b300199b44b525c0daf69;hp=1bb7354a99c9d5f454ff06fe04c9a9e2af30b8a2;hpb=c08edc59976fff0ad0c53f43b37293981fbdde0f;p=modules%2Fshaper.git diff --git a/src/PythonAddons/addons_Features.py b/src/PythonAddons/addons_Features.py index 1bb7354a9..bdafa1517 100644 --- a/src/PythonAddons/addons_Features.py +++ b/src/PythonAddons/addons_Features.py @@ -23,7 +23,7 @@ import ModelAPI from macros.rectangle.feature import SketchPlugin_Rectangle from macros.compoundVertices.feature import compoundVertices -from macros.box.feature import BoxFeature +from macros.importParameters.feature import importParameters class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin): @@ -47,8 +47,8 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin): aFeature = SketchPlugin_Rectangle().__disown__() elif theFeatureID == compoundVertices.ID(): aFeature = compoundVertices().__disown__() - elif theFeatureID == BoxFeature.ID(): - aFeature = BoxFeature().__disown__() + elif theFeatureID == importParameters.ID(): + aFeature = importParameters().__disown__() else: raise Exception("No such feature %s" % theFeatureID)