I am trying to create a script tool for Contour. Obviously, the tool has some issues, it gives an error of " Parameter is missing or invalid.
Can anyone identify any problems in my scripts or parameters or data type?
Thanks
Solved! Go to Solution.
Hello
Further to what has suggested is your output parameter correct? You have that as a "Feature Set" - you might want to set the Output_Feature_Class parameters as a 'Feature Class' data type (unless there is a specific reason you wish to use a Feature Set?) and take on board Dan's suggestion also.
I hope this helps.
many thanks ed
Is the output going to a file geodatabase? or a folder? If the latter then you need to add *.shp to the file name
Thanks for the response Dan.
The output is a feature class. I am wanting to put it in a file geodatabase. Should I still change something?
Hello
Further to what has suggested is your output parameter correct? You have that as a "Feature Set" - you might want to set the Output_Feature_Class parameters as a 'Feature Class' data type (unless there is a specific reason you wish to use a Feature Set?) and take on board Dan's suggestion also.
I hope this helps.
many thanks ed
Hi Ed,
Changing into Feature Class data type has fixed the issue. Thank you for the advice!
Yeah, I think Dan's suggestion should be good too.
Thank you both, it's my first post. The fast responses here is amazing!
Nicole, straighten out the feature class vs feature set thing as Ed pointed out for sure.
You can use an arcpy.AddMessage statement to check the full path and name of the output. I am not sure what the --embedded-- option is used for
Hi Dan,
Yeah feature class works 🙂
I am also not sure what the "embedded" option is used for. It is automatically filled. I can't delete it. Thank you!