<?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 Opening an MXD outside of an arcMap Session in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/opening-an-mxd-outside-of-an-arcmap-session/m-p/87254#M2277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been running geoprocessing functions in a stand alone program that consumes an ArcGIS Desktop license.&amp;nbsp; One of the Models I call uses "Map to KML" which can use an MXD file as a parameter,&amp;nbsp; It works fine but I would like to tweak it a bit. I have code that produces the KML I want but it needs to run in ArcMAP.&amp;nbsp; I need to develop a custom geoprocessor tool taht I can feed an MXD to, however I'm unfamiliar with how to reference the layers inside a map document out side of an ArcMap Session.&amp;nbsp; Does anyone know how to do this, can I open an MXD without the ArcMAp UI or Map Control?&amp;nbsp; I image the tollbox item "Map to KML" does this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Aug 2010 18:09:34 GMT</pubDate>
    <dc:creator>MichaelAdornetto</dc:creator>
    <dc:date>2010-08-26T18:09:34Z</dc:date>
    <item>
      <title>Opening an MXD outside of an arcMap Session</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/opening-an-mxd-outside-of-an-arcmap-session/m-p/87254#M2277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been running geoprocessing functions in a stand alone program that consumes an ArcGIS Desktop license.&amp;nbsp; One of the Models I call uses "Map to KML" which can use an MXD file as a parameter,&amp;nbsp; It works fine but I would like to tweak it a bit. I have code that produces the KML I want but it needs to run in ArcMAP.&amp;nbsp; I need to develop a custom geoprocessor tool taht I can feed an MXD to, however I'm unfamiliar with how to reference the layers inside a map document out side of an ArcMap Session.&amp;nbsp; Does anyone know how to do this, can I open an MXD without the ArcMAp UI or Map Control?&amp;nbsp; I image the tollbox item "Map to KML" does this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 18:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/opening-an-mxd-outside-of-an-arcmap-session/m-p/87254#M2277</guid>
      <dc:creator>MichaelAdornetto</dc:creator>
      <dc:date>2010-08-26T18:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Opening an MXD outside of an arcMap Session</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/opening-an-mxd-outside-of-an-arcmap-session/m-p/87255#M2278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check out the IMapDocument interface.&amp;nbsp; It is built to allow this type of activity you are interested in.&amp;nbsp; You can use it to open a map document, read layers, etc. without the code having to run inside an mxd.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 13:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/opening-an-mxd-outside-of-an-arcmap-session/m-p/87255#M2278</guid>
      <dc:creator>MarkWelsh</dc:creator>
      <dc:date>2010-08-27T13:39:27Z</dc:date>
    </item>
  </channel>
</rss>

