Select to view content in your preferred language

Python Toolbox: hasBeenValidated vs altered

50
0
yesterday
ZacharyUhlmann1
Occasional Contributor III

Third excruciating attempt to understand the sparsely document difference between hasBeenValidated and altered when creating a Python Toolbox in Pro.

my second post   my first post 

Please help me understand:

1) Use cases of the two

2) WHEN does validation occur and WHEN does checking altered status occur? 

From the oft referenced, and seemingly sole, Official ESRI documentation page on the topic, Customizing Tool Behavior ,I understand the intent of altered.  

I do NOT understand WHEN is the updateParameters method called, other than the altered property is immediately updated after changing a parameter value BUT internal validation does not occur.

I'm utterly confused.

Tags (2)
0 Kudos
0 Replies