<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python Toolbox Tool Display Order in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636692#M49550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any chance that this has changed in the intervening years? I would also like to set a specific display order for the tools in my python toolbox file. A user may not need or want to use every tool in my toolbox, so wrapping them into a model or a single tool doesn't really suit my purposes. I would like the users to see the tools available in the order that they might become useful. In the past I've gone with starting the label with a step number, but it would be tidier if I could just designate the order in the code for the toolbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Nov 2019 02:50:56 GMT</pubDate>
    <dc:creator>Heidi_Kristenson</dc:creator>
    <dc:date>2019-11-12T02:50:56Z</dc:date>
    <item>
      <title>Python Toolbox Tool Display Order</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636688#M49546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;class Toolbox(object): &amp;nbsp;&amp;nbsp;&amp;nbsp; def __init__(self): &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; """Define the toolbox (the name of the toolbox is the name of the &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pyt file).""" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.label = "My Toolbox" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.alias = "" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # List of tool classes associated with this toolbox &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.tools = [Importdata,Convertdata, CalculateMeasures, StationLine, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatePoints,ExtractPoint,CreateDataPackage] &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 18:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636688#M49546</guid>
      <dc:creator>LorneDmitruk</dc:creator>
      <dc:date>2013-01-17T18:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python Toolbox Tool Display Order</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636689#M49547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lorne,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Direct from the help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Toolset and tool display order&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Toolsets and tools are always displayed alphabetically. You cannot change this alphabetical ordering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is some implied order to using tools within a toolbox or toolset, such as "use this tool first, then this tool," you should consider creating models, since models are the way you create and use a sequence of tools.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so, what about a tool that runs all of these in the appropriate order, in addition to the individual stand-alone tools?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 19:53:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636689#M49547</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2013-01-17T19:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Python Toolbox Tool Display Order</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636690#M49548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I knew I should have RTFM'd a little more deeply. I have thought about a tool that runs them all but I want the users to have a chance to inspect the results from each tool before they continue to the next. The other possibility would be to create a python add-in but I don't have time to figure that out right now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Lorne,&lt;BR /&gt;Direct from the help:&lt;BR /&gt;Toolset and tool display order&lt;BR /&gt;Toolsets and tools are always displayed alphabetically. You cannot change this alphabetical ordering.&lt;BR /&gt;If there is some implied order to using tools within a toolbox or toolset, such as "use this tool first, then this tool," you should consider creating models, since models are the way you create and use a sequence of tools.&lt;BR /&gt;&lt;BR /&gt;so, what about a tool that runs all of these in the appropriate order, in addition to the individual stand-alone tools?&lt;BR /&gt;Regards,&lt;BR /&gt;Jim&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 13:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636690#M49548</guid>
      <dc:creator>LorneDmitruk</dc:creator>
      <dc:date>2013-01-18T13:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Python Toolbox Tool Display Order</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636691#M49549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think there's any shame in naming the tools "Step 1 - Do This", "Step2 - Do That", etc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another idea... What about having a single tool that pauses between sections and asks for a user response before continuing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 15:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636691#M49549</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-01-18T15:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python Toolbox Tool Display Order</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636692#M49550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any chance that this has changed in the intervening years? I would also like to set a specific display order for the tools in my python toolbox file. A user may not need or want to use every tool in my toolbox, so wrapping them into a model or a single tool doesn't really suit my purposes. I would like the users to see the tools available in the order that they might become useful. In the past I've gone with starting the label with a step number, but it would be tidier if I could just designate the order in the code for the toolbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2019 02:50:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636692#M49550</guid>
      <dc:creator>Heidi_Kristenson</dc:creator>
      <dc:date>2019-11-12T02:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python Toolbox Tool Display Order</title>
      <link>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636693#M49551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no change alphabetical still,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2019 02:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-toolbox-tool-display-order/m-p/636693#M49551</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-12T02:57:27Z</dc:date>
    </item>
  </channel>
</rss>

