![]() If the parameter type is Derived, the parameter direction will be automatically set to Output.Īll script tools should have output parameters so they can be used in ModelBuilder. This property defines whether the parameter is an input to the tool or an output of the tool. To change an optional parameter to a required parameter, set the Type option to Required on the Parameters tab of the tool's Properties window. You can change model parameters from optional to required for the model tool, but you cannot change required parameters to optional. For example, if the variable is used as the input to a required parameter of a tool in the model, that model parameter will be required. The designation of required, optional, and derived occurs automatically based on how the parameter is used in the model. Neither the feature class nor the workspace are parameter options. For example, you may have a script that creates a feature class in a known workspace.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |