<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 23, 2018 at 12:14 PM, G. Allegri <span dir="ltr"><<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Nyall,<div>scripts seem way more complex then before. I guess it is the simplest way that could be found to accomodate Processing scripts to the refactored code.</div><div>Some questions from the previous scripts examples:</div><div><br></div><div>1) Is automatic output / sink parameter conversion impossible to obtain? In [1] self.parameterAsSink is used, and it's not very clear to me what the second method output (Biggest_parts) represent. Input / source (Polygons) is used directly instead, as it was in QGIS 2.x</div><div><br></div><div>2) There are some global vars that appear to be automagically injected by the script execution context, like "parameters" and "context". Are they documented somewhere? </div><div><br></div><div>3) The test scripts use different approaches. Centroids.py use source / sink, while the others two define vector / vectorDestination. Are they supposed to work?</div></div></blockquote><div><br></div><div class="gmail_default" style="font-size:small">​I'd like to second Giovanni's questions. ​The current situation is a bit confusing and looks considerably more complex than the previous implementation. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Regards,</div><div class="gmail_default" style="font-size:small">Anita</div></div><br></div></div>