-# Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
""" Supported types of filtered shapes """
return theType == GeomAPI_Shape.FACE
+ def isMultiple(self):
+ """ Returns True if the filter can be used several times within one selection """
+ return True
+
def isOk(self, theShape, theResult, theArgs):
""" True if theShape is applicable for the filter """
selectedShapeAttr = modelAPI_AttributeSelection(theArgs.argument("Shape"))