#NEWLINE# def to_shapefile( self , filename , package_names = None , **kwargs ) : #NEWLINE# #INDENT# '\n        Wrapper function for writing a shapefile for the model grid.  If\n        package_names is not None, then search through the requested packages\n        looking for arrays that can be added to the shapefile as attributes\n\n        Parameters\n        ----------\n        filename : string\n            name of the shapefile to write\n        package_names : list of package names (e.g. ["dis","lpf"])\n            Packages to export data arrays to shapefile. (default is None)\n\n        Returns\n        -------\n        None\n\n        Examples\n        --------\n        >>> import flopy\n        >>> m = flopy.modflow.Modflow()\n        >>> m.to_shapefile(\'model.shp\', SelPackList)\n\n        ' #NEWLINE# import warnings #NEWLINE# warnings . warn ( 'to_shapefile() is deprecated. use .export()' ) #NEWLINE# self . export ( filename , package_names = package_names ) #NEWLINE# return