<?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 Export Interopability extension layer in Arc 10.0 to shape/FileGDB or PGDB in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/export-interopability-extension-layer-in-arc-10-0/m-p/33988#M881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Readers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks a lot for taking the time to read this post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using ArcObjects with C# in VS 2010, I was able to create a .FDL (interop extn black box file) mimicking the clicks of a 'Add Interopability Layer' and dropping the same in c:\users\...\AppData\Roaming\SAFE Software\Interoperability folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Users are able drag and drop the Interop Layer if a .lyr file does not exist in the same folder - if a .lyr file exists with the same name as the MyWFSLayerFromServer.fdl - then MyWFSLayerFromServer is added to TOC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;

&lt;FONT face="Lucida Console"&gt;IGxLayer gxlGXLayerCls = new ESRI.ArcGIS.Catalog.GxLayer();
IGxFile gxFile = (ESRI.ArcGIS.Catalog.IGxFile)gxlGXLayerCls; //Explicit Cast.
gxFile.Path = strLYRFile2BLoadedAsFeatLayerInParam;
_pMxDoc.AddLayer(gxlGXLayerCls.Layer);

&lt;/FONT&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, how to export this newly added gxlGXLayerCls layer to a PGDB or FGDB or even a shapefile for starters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at IFeatureDataConverter class and that .ConvertFeatureClass wants an inputFeatClassName and that is driving me crazy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ravi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 14:51:40 GMT</pubDate>
    <dc:creator>Ravichandran_M_Kaushika</dc:creator>
    <dc:date>2014-02-27T14:51:40Z</dc:date>
    <item>
      <title>Export Interopability extension layer in Arc 10.0 to shape/FileGDB or PGDB</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/export-interopability-extension-layer-in-arc-10-0/m-p/33988#M881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Readers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks a lot for taking the time to read this post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using ArcObjects with C# in VS 2010, I was able to create a .FDL (interop extn black box file) mimicking the clicks of a 'Add Interopability Layer' and dropping the same in c:\users\...\AppData\Roaming\SAFE Software\Interoperability folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Users are able drag and drop the Interop Layer if a .lyr file does not exist in the same folder - if a .lyr file exists with the same name as the MyWFSLayerFromServer.fdl - then MyWFSLayerFromServer is added to TOC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;

&lt;FONT face="Lucida Console"&gt;IGxLayer gxlGXLayerCls = new ESRI.ArcGIS.Catalog.GxLayer();
IGxFile gxFile = (ESRI.ArcGIS.Catalog.IGxFile)gxlGXLayerCls; //Explicit Cast.
gxFile.Path = strLYRFile2BLoadedAsFeatLayerInParam;
_pMxDoc.AddLayer(gxlGXLayerCls.Layer);

&lt;/FONT&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, how to export this newly added gxlGXLayerCls layer to a PGDB or FGDB or even a shapefile for starters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at IFeatureDataConverter class and that .ConvertFeatureClass wants an inputFeatClassName and that is driving me crazy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ravi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 14:51:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/export-interopability-extension-layer-in-arc-10-0/m-p/33988#M881</guid>
      <dc:creator>Ravichandran_M_Kaushika</dc:creator>
      <dc:date>2014-02-27T14:51:40Z</dc:date>
    </item>
  </channel>
</rss>

