<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Hola estoy realizando un script jython en gvsig 2.0 en el cual quiero seleccionar los elementos de un DXF y exportarlos a a SHP ya logre realizar la selección pero no he podido exportar la capa lo que llevo es lo siguiente:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="background-color: transparent;"><div style="background-color: transparent;">def main():</div><div style="background-color:
transparent;"> #Remove this lines and add here your code</div><div style="background-color: transparent;"> layer = currentLayer()</div><div style="background-color: transparent;"> features = layer.features("(Layer = 'LOTE' and (Entity = 'Polyline' or Entity = 'LwPolyline')) or (Entity = 'Text' and Layer = 'NUMERO')")</div><div style="background-color: transparent;"> crs = currentProject().getProjectionCode()</div><div style="background-color: transparent;"> print crs</div><div style="background-color: transparent;"> nosel = features.getCount() </div><div style="background-color: transparent;"> print nosel</div><div style="background-color: transparent;"> </div><div style="background-color: transparent;"> </div><div style="background-color: transparent;">espero que me puedan apoyar</div><div style="background-color:
transparent;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Saludos!</div></div> </div></body></html>