Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyTool(object):
- def __init__(self):
- self.enabled = True
- self.checked = False
- def onClick(self):
- self.catalog_path = pythonaddins.GetSelectedCatalogWindowPath()
- pythonaddins.GPToolDialog(r'C:toolboxpath', 'tool_name')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement