]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Modify for Macro
authorNATHALIE GORE <ng13417n@dsp0897499.atlas.edf.fr>
Tue, 20 Aug 2019 09:22:11 +0000 (11:22 +0200)
committervsv <vsv@opencascade.com>
Wed, 6 Nov 2019 08:22:44 +0000 (11:22 +0300)
src/PythonAddons/macros/compoundVertices/feature.py

index 3f5a3e3f1bf53febd09a27c0557b9346870f218b..c8e5fed4863bce9a166c313425aa9d3277327d26 100644 (file)
@@ -74,4 +74,12 @@ class compoundVertices(model.Feature):
                 return
         
             setError("The file does not exist")
-                       
+
+    def isMacro(self):
+        """Override Feature.initAttributes().
+        F.isMacro() -> True
+
+        compoundVertices feature is macro: removes itself on the creation transaction
+        finish.
+        """
+        return True