Select to view content in your preferred language

Now you know series - 3 - Using Calculate Value Tool

302
0
08-29-2023 10:36 PM
ShitijMehta
Esri Regular Contributor
3 0 302


Calculate Value tool is a ModelBuilder specific tool that returns a value based on Python.

Examples where you can use this tool include:

  1. Passing model variables with static or dynamic values that can be used in the code.
  2. Cast data type of an incoming data to make it compatible for the next tool.
  3. String manipulation to generate a string that can be used as inline variable substitution.
  4. Get a handy list of python functions and their syntax within a model.

To understand more, check out this video created by our summer intern, Atreyi Guin. 

Addition Resources

Examples of using Calculate Value tool