import os relPath = os.path.dirname(__file__)
pythonaddins.GPToolDialog(relPath+r'\MyPythonToolbox.pyt', 'MyPyTool')
getXmlParameterAsText(0) or getXmlParameterAsValue(0) or getXmlParamterInfo() or getXmlAttributeAsText(0,'datatype')
I like the sound of this, but I'm not exactly clear where this goes:
pythonaddins.GPToolDialog(relPath+r'\MyPythonToolbox.pyt', 'MyPyTool')
---This should definitely be a presentation at the UC, and/or a white paper with a working sample!
def onClick(self): pythonaddins.GPToolDialog(relPath+r'\OptionsDialog.tbx', 'SaveOptions')