-# Copyright (C) 2014-2020 CEA/DEN, EDF R&D
+# Copyright (C) 2014-2023 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
def initAttributes(self, theArgs):
""" Initializes arguments of a filter """
- theArgs.initAttribute("Shape", ModelAPI_AttributeSelection_typeId())
- theArgs.initAttribute("Propagation", ModelAPI_AttributeBoolean_typeId())
+ theArgs.initAttribute("Shape", ModelAPI_AttributeSelection.typeId())
+ theArgs.initAttribute("Propagation", ModelAPI_AttributeBoolean.typeId())
def adjacentFaces(self, theFace, theMapSA, theShapeType, theApplicableFaces, theRecursive = True):
""" Find all faces neighbour to theFace """