Developing Importer for .SHP (or SHX) to SketchUp

oops, meant to post this earlier…
it may even work on a PC???

        base = (UI.openpanel("Select Shapefile", "~", "Shapefiles|*.shp;*.shx;||"))
        @@pathname = base.sub(/(\.sh[px])/,'')