<?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: How do I programmatically get the current layer being edited from ArcMap 10? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-programmatically-get-the-current-layer/m-p/332079#M8643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sean,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took the current layer (editor target) path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was missing a statement in my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your advice resolved the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A big THANKS....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Genaro L. Garcia, Jr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IT/GIS �?? Programmer Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;100 N Walker Ave., 5th Floor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oklahoma City, OK&amp;nbsp; 73102&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(405) 297-3172&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2012 15:51:12 GMT</pubDate>
    <dc:creator>GenaroGarcia</dc:creator>
    <dc:date>2012-02-14T15:51:12Z</dc:date>
    <item>
      <title>How do I programmatically get the current layer being edited from ArcMap 10?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-programmatically-get-the-current-layer/m-p/332077#M8641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Genaro Garcia&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to programmatically get the current layer being edited in ArcMap 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any sample code showing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas or advice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 13:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-programmatically-get-the-current-layer/m-p/332077#M8641</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-13T13:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I programmatically get the current layer being edited from ArcMap 10?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-programmatically-get-the-current-layer/m-p/332078#M8642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sean_jones&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the user is creating features from a template then you can get the layer from the current template as shown in &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_feature_templates/0001000002sr000000/" rel="nofollow" target="_blank"&gt;Using feature templates&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;IEditTemplate editTemplate = m_editor.CurrentTemplate; IFeatureLayer featLayer = editTemplate.Layer as IFeatureLayer;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're coming in from another path then you can get the current layer (editor target) from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/CurrentLayer_Property/0020000000q9000000/" rel="nofollow" target="_blank"&gt;IEditLayers.CurrentLayer&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 15:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-programmatically-get-the-current-layer/m-p/332078#M8642</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-13T15:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I programmatically get the current layer being edited from ArcMap 10?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-programmatically-get-the-current-layer/m-p/332079#M8643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sean,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took the current layer (editor target) path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was missing a statement in my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your advice resolved the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A big THANKS....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Genaro L. Garcia, Jr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IT/GIS �?? Programmer Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;100 N Walker Ave., 5th Floor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oklahoma City, OK&amp;nbsp; 73102&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(405) 297-3172&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 15:51:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-programmatically-get-the-current-layer/m-p/332079#M8643</guid>
      <dc:creator>GenaroGarcia</dc:creator>
      <dc:date>2012-02-14T15:51:12Z</dc:date>
    </item>
  </channel>
</rss>

