From a44fe35c388860570c3e4c58843fb80a46e7ebfb Mon Sep 17 00:00:00 2001 From: NATHALIE GORE Date: Tue, 20 Aug 2019 11:22:11 +0200 Subject: [PATCH] Modify for Macro --- src/PythonAddons/macros/compoundVertices/feature.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/PythonAddons/macros/compoundVertices/feature.py b/src/PythonAddons/macros/compoundVertices/feature.py index 3f5a3e3f1..c8e5fed48 100644 --- a/src/PythonAddons/macros/compoundVertices/feature.py +++ b/src/PythonAddons/macros/compoundVertices/feature.py @@ -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 -- 2.39.2