]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Change the id for the box.
authorClarisse Genrault <clarisse.genrault@cea.fr>
Tue, 21 Jun 2016 13:26:01 +0000 (15:26 +0200)
committerdbv <dbv@opencascade.com>
Thu, 7 Jul 2016 09:39:39 +0000 (12:39 +0300)
src/PythonAddons/macros/box/feature.py
src/PythonAddons/macros/box/widget.xml

index 6be8f29edddfb3d3097db4ff03aa255c8d5b8717..7bfd90b7617c71dccc7c886556bb3459845ea765 100644 (file)
@@ -22,7 +22,7 @@ class BoxFeature(model.Feature):
     @staticmethod
     def ID():
         """Return Id of the feature."""
-        return "Box"
+        return "Box_script"
 
     @staticmethod
     def WIDTH_ID():
index e977b3e8cb34adf02f0fb09d2cf8247c2a40a1f5..1bd4a648b718bab67f7a2ec40525f37e95f37bc8 100644 (file)
@@ -2,7 +2,7 @@
   <workbench id="Macros" document="Part">
     <group id="Samples">
 
-      <feature id="Box" title="Box" tooltip="Create a box parallel to xyz by extruding a rectangular" icon="icons/Addons/box_ico.png">
+      <feature id="Box_script" title="Box" tooltip="Create a box parallel to xyz by extruding a rectangular" icon="icons/Addons/box_ico.png">
         <doublevalue id="width"  label="Width: " min="0" step="1.0" default="50" tooltip="Box width">
           <validator id="GeomValidators_Positive"/>
         </doublevalue>