How to create checkboxes to select multiple inputs?

المشرف العام

Administrator
طاقم الإدارة
I am working on a script (to publish as a geoprocessing service) that will take multiple feature layers and use them as inputs to the ExportCAD_Conversion tool.

What I ultimately want is a set of checkboxes that allow the user to check which layers they want converted into CAD (from a list of about 10 features).

I saw somebody mention using something like this:

FeatureCheck = arcpy.GetParameterAsText(0) if str(FeatureCheck) == "C:\FeatureLocation": arcpy.AddMessage("Feature") result = arcpy.Exists(Feature) This only got me an error that said "Dataset true does not exist or is not supported"

Am I going down the right path? Am I close? Or is this ultimately the wrong way to go?

Thank you for any help!



أكثر...
 
أعلى