# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
self.commande+=' --in "' + self.fichierIn +'"'
self.commande+=' --out "' + self.fichierOut +'"'
-
- print(self.commande)
+
+ import SMeshHelper
+ key = SMeshHelper.GetMGLicenseKey( self.fichierIn )
+ if key != "0":
+ self.commande+=' --key ' + key
+
+ if verbose: print("INFO: MG-SurfOpt command:\n %s" % self.commande)
return True
def clean(self):