Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Which parameters do I need to do this?

$
0
0
I've made a Python script that finds the midpoint of a polyline and creates a point there.

I'm having trouble finding what parameters inside the tool properties I need to choose for 2 of the outputs.

-----------------------

I'm using:

Code:

arcpy.FeatureClassToFeatureClass_conversion (saved_Layer, output_Location, output_Name)
output_Location and output_Name use GetParameterAsText.

For output_Location, I just want the person using the tool to be able to select either a folder or geodatabase or dataset where they want the file to be saved. I can't figure out which parameter lets the user just select the location where the file should be saved.

And then output_Name, should just allow the user to type in the file name, like Rivers.shp. But I cannot find a parameter that just allows the user to enter text.

Any help here?

Viewing all articles
Browse latest Browse all 2485

Trending Articles