<div dir="ltr"><div>That's too bad. It would be useful. I will need to not use an extension in this case because it need to import more than one.</div><div><br></div><div>Calvin<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 26, 2018 at 9:41 PM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 24 Aug 2018 at 05:42, C Hamilton <<a href="mailto:adenaculture@gmail.com">adenaculture@gmail.com</a>> wrote:<br>
><br>
> Does QgsProcessingParameterFile support more than one extensioin ie *.kml, *.kmz? I've tried various things but none have worked.<br>
<br>
</span>That's not currently supported, unfortunately.<br>
<br>
Nyall<br>
<span class=""><br>
><br>
> self.addParameter(<br>
> QgsProcessingParameterFile(<br>
> self.PrmInputLayer,<br>
> tr('Import KML/KMZ file'),<br>
> extension='kml')<br>
> )<br>
><br>
> Thanks,<br>
><br>
> Calvin<br>
</span>> ______________________________<wbr>_________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
</blockquote></div><br></div>