<?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 Why script parameter doesn't work as the instrument parameter? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/why-script-parameter-doesn-t-work-as-the/m-p/498624#M39138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. Tell me, please, can I solve this problem? There is instrument TopoToRaster and it has parameter "In Topo Features", so when I running it, I can choose what fields to calculate:&lt;BR /&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/352539_1.png" style="width: 620px; height: 246px;" /&gt;&lt;/P&gt;&lt;P&gt;The same thing is in model, created in ModelBuilder.&lt;BR /&gt;But when I use script with that parameter, I can't choose fields:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-4 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/352540_2.png" style="width: 620px; height: 294px;" /&gt;&lt;/P&gt;&lt;P&gt;How can I avoid manual input?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 May 2017 07:32:40 GMT</pubDate>
    <dc:creator>helloworld</dc:creator>
    <dc:date>2017-05-17T07:32:40Z</dc:date>
    <item>
      <title>Why script parameter doesn't work as the instrument parameter?</title>
      <link>https://community.esri.com/t5/python-questions/why-script-parameter-doesn-t-work-as-the/m-p/498624#M39138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. Tell me, please, can I solve this problem? There is instrument TopoToRaster and it has parameter "In Topo Features", so when I running it, I can choose what fields to calculate:&lt;BR /&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/352539_1.png" style="width: 620px; height: 246px;" /&gt;&lt;/P&gt;&lt;P&gt;The same thing is in model, created in ModelBuilder.&lt;BR /&gt;But when I use script with that parameter, I can't choose fields:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-4 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/352540_2.png" style="width: 620px; height: 294px;" /&gt;&lt;/P&gt;&lt;P&gt;How can I avoid manual input?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 07:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-script-parameter-doesn-t-work-as-the/m-p/498624#M39138</guid>
      <dc:creator>helloworld</dc:creator>
      <dc:date>2017-05-17T07:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why script parameter doesn't work as the instrument parameter?</title>
      <link>https://community.esri.com/t5/python-questions/why-script-parameter-doesn-t-work-as-the/m-p/498625#M39139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of your pictures came through but it sounds like you're interested in &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/creating-tools/understanding-validation-in-script-tools.htm"&gt;script tool validation&lt;/A&gt;, which is only possible using Python and a script tool. &amp;nbsp;If that's the case, you'll want to use a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/creating-tools/customizing-script-tool-behavior.htm#ESRI_SECTION1_EC9CAA8935F94DFFBE34B9DCA55D838B"&gt;filter&lt;/A&gt; to find the fields in the input and then update a parameter based on those fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 17:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-script-parameter-doesn-t-work-as-the/m-p/498625#M39139</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-05-17T17:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why script parameter doesn't work as the instrument parameter?</title>
      <link>https://community.esri.com/t5/python-questions/why-script-parameter-doesn-t-work-as-the/m-p/498626#M39140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it's really looks like what I need, but I haven't found how to work with the "Topological Objects" parameter:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/354362_2.png" style="width: 620px; height: 294px;" /&gt;&lt;/P&gt;&lt;P&gt;I read about Multiple parameters, but it didn't help me, because I have some kind of table with fields, not the single field as in these &lt;A href="http://desktop.arcgis.com/ru/arcmap/latest/analyze/creating-tools/customizing-script-tool-behavior.htm#ESRI_SECTION1_EC9CAA8935F94DFFBE34B9DCA55D838B"&gt;examples. &lt;/A&gt;&lt;/P&gt;&lt;P&gt;How can I get access to the highlighted field (№2 on the image)? I just want to make that simple field (2) as a list of fields from (1), like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/354363_1.png" style="width: 620px; height: 246px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 13:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-script-parameter-doesn-t-work-as-the/m-p/498626#M39140</guid>
      <dc:creator>helloworld</dc:creator>
      <dc:date>2017-05-29T13:50:33Z</dc:date>
    </item>
  </channel>
</rss>

