<?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: Attribute Editor Changes in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853387#M4377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, there's no way to determine where the change came from for the row changed events.&lt;/P&gt;&lt;P&gt;To lock down the attributes you could set them to 'read-only' in the layer's field definition.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 19:30:35 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-05-17T19:30:35Z</dc:date>
    <item>
      <title>Attribute Editor Changes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853386#M4376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way for my&amp;nbsp;onRowChangeEvent(RowChangedEventArgs args) to determine if a change came from the ArcGIS Pro attribute editor specifically?&amp;nbsp; I want to allow users to change the shape, scale, and location of objects, but not alter the attributes using the out of the box editor.&amp;nbsp; I&amp;nbsp;have come up with a number of work arounds, but wondering if I am missing something that says the change came from map/attribute editor/etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 13:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853386#M4376</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2018-05-17T13:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Editor Changes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853387#M4377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, there's no way to determine where the change came from for the row changed events.&lt;/P&gt;&lt;P&gt;To lock down the attributes you could set them to 'read-only' in the layer's field definition.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 19:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853387#M4377</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-05-17T19:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Editor Changes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853388#M4378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to see this data in code for the FrameworkApplication.ActiveTool?&amp;nbsp; I think if I can cast the ActiveTool to ModifyFeatureTool, I could get what I want from the IsSketchModified field.&amp;nbsp; But I can't find a way to get this.&amp;nbsp; I have been debugging, and I am finding that the IsSketchModified is true for any shape changes, and false for attribute only.&amp;nbsp; This would do it for me, but can't find a way to get from ActiveTool to ModifyFeatureTool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/406843_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 19:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853388#M4378</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2018-05-17T19:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Editor Changes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853389#M4379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use reflection but now you're getting into unsupported territory.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//get current tool&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; activeTool &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FrameworkApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ActiveTool&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; currentTool &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FrameworkApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CurrentTool&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; ismprop &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; activeTool&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetType&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;BaseType&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetProperty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"IsSketchModified"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NonPublic &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GetProperty&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ismprop &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;WriteLine&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ismprop&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetValue&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;activeTool&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ToString&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:31:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853389#M4379</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T10:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Editor Changes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853390#M4380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is the type of thing I want.&amp;nbsp; But i also want Move/Rotate/Scale values.&amp;nbsp; I cant seem to get the binding flags right, it keeps turning up null?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; activeTool &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FrameworkApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ActiveTool&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; currentTool &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; FrameworkApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CurrentTool&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; isMoveProp &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; activeTool&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetType&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;BaseType&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetProperty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"IsMove"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NonPublic &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GetProperty&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853390#M4380</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2021-12-12T10:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Editor Changes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853391#M4381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its the internal inheritance. "IsMove" isn't on the basetype but you can still get it from the instantiated type.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; ismprop &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; activeTool&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetType&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetProperty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"IsSketchModified"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FlattenHierarchy &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NonPublic &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; BindingFlags&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; improp &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; activeTool&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetType&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetProperty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"IsMove"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:31:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853391#M4381</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T10:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Editor Changes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853392#M4382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to get that the shape changed from either vertices/delete/reshape you can use the arg on Module to get the difference in the shape.&amp;nbsp; In order to do this&amp;nbsp;in the OnRowChange Event you need to get both the OriginalGeometry and the NewGeometry first.&amp;nbsp; You can compare them using .equals to get that change.&amp;nbsp; In order to detect a move/rotate/scale, you will need to use the above methods to find out if&amp;nbsp;IsSketchModified, IsMove, IsRotate, or IsScale is true.&amp;nbsp; If these conditions are false, then you can assume that the change came from the OOB Attribute Editor.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 20:36:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/attribute-editor-changes/m-p/853392#M4382</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2018-05-21T20:36:41Z</dc:date>
    </item>
  </channel>
</rss>

