How to get the parameter defined in one tool to another tool in same python toolbox?

المشرف العام

Administrator
طاقم الإدارة
This is what I am looking for:

  1. Create two tools in Python Toolbox: Tool1 and Tool2 (I am able to do that)
  2. I want to define a parameter in Tool2 whose value depends on parameter entered by user in Tool1. How can I do that? Can Tool1 be called in Tool2 and automatically Tool2 gets the value of parameter entered by user in Tool1? I want to use the value of parameter entered by user in Tool1 to define a workspace in def getParameterInfo(self): in Tool2.
Thank you!



أكثر...
 
أعلى