<div dir="ltr">Hi,<div><br></div><div><div>can somebody help me with load  a dxf file into a layer?</div><div><br></div><div>I have done this:</div></div><div><br></div><div><div>fitxer="PARCELARIPEPCH.dxf"</div><div>layer = QgsVectorLayer(fitxer, 'prova', 'ogr')</div><div>if not layer.isValid():</div><div>    print "invalid layer"</div></div><div><br></div><div>And always have an invalid layer.<br></div><div><br></div><div><br></div><div>And then, how I have to filter by different geomtry types?</div><div><br></div><div>Thanks.</div></div>