-# Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2013-2022 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
geompy = None
def CheckFieldCreation(shape, name, ftype, dimension, componentNames, nbFiOrMustFail=-1):
- # WARNING: assure name uniquness to check geompy.GetField( shape, name )
+ # WARNING: assure name uniqueness to check geompy.GetField( shape, name )
try:
field = geompy.CreateField(shape, name, ftype, dimension, componentNames)
except Exception as e: