How can I convert an arcpy geometry object to a shapefile?

Discussion created by sinje on Feb 26, 2011
Latest reply on May 4, 2011 by sinje
Hi there,

I'm quite new to arcpy, so maybe this is stupid question:

I have a script that produces streams as polylines for every branch one line. I use "unsplit line" to merge them to one line with a geometry object as output. This is done several times (several streams) so in the end I have a list with several geometry objects that contain polylines.
Now I want to convert these geometries to a shapefile or geodatabase feature. How can I do this?

CopyFeatures_managements needs a shapefile/Feature as input. Is there a similar tool/opportunity for geometry objects?

Thanks for any help!