AnsweredAssumed Answered

Python Toolboxes: Using a multiValue Parameter

Question asked by crdale on Sep 24, 2012
Latest reply on Mar 15, 2013 by WillAllender
In a tool in my Python toolbox, I want to set one of my parameters to multiValue to let the user enter multiple input feature classes or layers. When I go to access the parameter value, I'm not sure what data type/object it's coming in as. I've seen conflicting information in the documentation, that it could be either a delimited string using a semi-colon, or it could be a list. Which one is it or is it something completely different? I've tried working with the parameter in both cases, and I get the same error. The error appears when I try to pass in one of the paths given to me through the parameter:

ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Features: Dataset '[path to feature class]' does not exist or is not supported
Failed to execute (MakeFeatureLayer).

This tool does work if I don't have the parameter set to multiValue.

Documentation I looked at (both in the custom toolbox and Python toolbox sections):
Defining Parameters in a Python toolbox
Setting Script Tool Parameters

Thoughts? Help?