Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. class MyTool(object):
  2. def __init__(self):
  3. self.enabled = True
  4. self.checked = False
  5. def onClick(self):
  6. self.catalog_path = pythonaddins.GetSelectedCatalogWindowPath()
  7. pythonaddins.GPToolDialog(r'C:toolboxpath', 'tool_name')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement