<?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 Don't add model parameter to map in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/don-t-add-model-parameter-to-map/m-p/362846#M12526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very simple modelbuilder model that I use to export feature class(es) to a .dwg CAD file. The model just defines the output coordinate system and output type without having to manually select it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is that the output CAD layers (point, polyline, polygon, multipatch, etc...) are always added to the map. I don't need or want them added and it just makes extra work to select and remove them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to have a model parameter (Output CAD File in this case) that does NOT get added to the map on a single model without unchecking "add geoprocessing output to map" for ALL geoprocessing tasks in Options/Geoprocessing? Most of the time, I want&amp;nbsp;model outputs&amp;nbsp;added, just not here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a little piece of python code for the Calculate Value tool that finds and removes those layers, but the&amp;nbsp;layers don't seem to get added to the map until &lt;STRONG&gt;AFTER&lt;/STRONG&gt; the model has finished running. I've tried with a time.sleep delay and using a submodel...but although the code runs, neither remove the CAD layers when running the tool. The code works fine on it's own, just has no effect in the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other ideas or workarounds to forcing a model to not add output parameters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2020 19:46:40 GMT</pubDate>
    <dc:creator>AaronWorthley1</dc:creator>
    <dc:date>2020-07-22T19:46:40Z</dc:date>
    <item>
      <title>Don't add model parameter to map</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/don-t-add-model-parameter-to-map/m-p/362846#M12526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very simple modelbuilder model that I use to export feature class(es) to a .dwg CAD file. The model just defines the output coordinate system and output type without having to manually select it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is that the output CAD layers (point, polyline, polygon, multipatch, etc...) are always added to the map. I don't need or want them added and it just makes extra work to select and remove them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to have a model parameter (Output CAD File in this case) that does NOT get added to the map on a single model without unchecking "add geoprocessing output to map" for ALL geoprocessing tasks in Options/Geoprocessing? Most of the time, I want&amp;nbsp;model outputs&amp;nbsp;added, just not here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a little piece of python code for the Calculate Value tool that finds and removes those layers, but the&amp;nbsp;layers don't seem to get added to the map until &lt;STRONG&gt;AFTER&lt;/STRONG&gt; the model has finished running. I've tried with a time.sleep delay and using a submodel...but although the code runs, neither remove the CAD layers when running the tool. The code works fine on it's own, just has no effect in the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other ideas or workarounds to forcing a model to not add output parameters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 19:46:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/don-t-add-model-parameter-to-map/m-p/362846#M12526</guid>
      <dc:creator>AaronWorthley1</dc:creator>
      <dc:date>2020-07-22T19:46:40Z</dc:date>
    </item>
  </channel>
</rss>

