AnsweredAssumed Answered

Python Toolbox Tool Display Order

Question asked by ldmitruk on Jan 17, 2013
Latest reply on Jan 18, 2013 by csny490
Hi,

I've been coding a python toolbox for use in a data conversion process. I would like the tools to be presented in the order in which they need to be run as opposed to alphabetical which seems to be default way the tool are listed. I have tried placing the tools in the order I want in the list for the tools for example:

class Toolbox(object):     def __init__(self):         """Define the toolbox (the name of the toolbox is the name of the         .pyt file)."""         self.label = "My Toolbox"         self.alias = ""         # List of tool classes associated with this toolbox         self.tools = [Importdata,Convertdata, CalculateMeasures, StationLine,         CreatePoints,ExtractPoint,CreateDataPackage] 


So other than naming the tools step 1, step 2 etc. is there a way to overide the default listing of the tools in a python toolbox?

Cheers!

Outcomes