<div dir="ltr">Hello,<div><br></div><div>I'm working on a processing plugin. My input parameters are:</div><div><ul><li>one point layer</li><li>a non empty list of line layers</li></ul></div><div>I've found that some of the layers are stored in memory and are not actual files. It happens when a layer is created by QGIS plugins. But for my algorithm I need actual files because the work is done by an external process.</div><div><br></div><div>I've been reading through the GDAL and Grass plugins which have the same architecture as mine (launch an external process to do the work). And the function parameterAsCompatibleSourceLayerPath is called to convert an in memory layer to an actual file. I've used successfully this behavior for the point layer and it's working perfectly fine.</div><div><br></div><div>However, I cannot find any example of doing the same on a QgsProcessingParameterMultipleLayers, the parameters for my line layers. And the function parameterAsCompatibleSourceLayerPath takes the name of the parameter and returns only one string, so it doesn't seem to work on QgsProcessingParameterMultipleLayers. </div><div><br></div><div>What would be the right way to convert a potentially "in memory" QgsProcessingParameterMultipleLayers to an actual list of files ?</div><div><br></div><div>Thanks for your help,</div><div><br></div><div>Jean-Charles</div><div><br></div><div>PS: I'm using QGIS <span style="white-space:pre-wrap">3.10.2-A Coruña on windows 10 64 bits</span></div></div>