<div dir="ltr">Salve a tutti<br><br>sto cercando di utilizzare la classe QgsProcessingParameterEnum in un mio script.<br><br>Ho scritto le seguenti linee, credo siano corrette, ma ottengo l'errore<br><br># 3D select statistics <br>self.addParameter(QgsProcessingParameterEnum(<br>    name = self.STATISTICS,<br>    description = <a href="http://self.tr">self.tr</a>('Statistics to calculate'),<br>    options = "",<br>    allowMultiple=True, <br>    defaultValue=[2],<br>    optional = False))<br>    <br>TypeError: QgsProcessingParameterEnum(): arguments did not match any overloaded call:<br>overload 1: argument 'options' has unexpected type 'str'<br>overload 2: not enough arguments<br><br>Sapete dirmi dove sbaglio?<br><br>Grazie</div>