<?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: Unable to Edit the Annotation Using Default Tool When Annotation Is Created Using ArcGIS Pro SDK Custom Tool in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/unable-to-edit-the-annotation-using-default-tool/m-p/1657345#M13189</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would double check the geometry that you are using within the line "&lt;EM&gt;annoProperties.Shape = geometry;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I took a look at the geodatabase you posted with your sample annotations and noticed the following -&amp;nbsp;the length of the polyline in the annotationProperties.Shape for the "&lt;SPAN&gt;DefaultToolText1" is 73.40126, whereas the length of the polylines for the annotation features created with your custom construction tool are 0 (CustomToolText1),&amp;nbsp;0.001 (CustomToolText2),&amp;nbsp;0.0009 (customToolText3) respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The annotationProperties.Shape is&amp;nbsp;&amp;nbsp;the geometry of the CIMTextGraphic which represents the baseline geometry that the annotation text sits on.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The small length values indicate that the CIMTextGraphic shape for your features is not correct or a long enough polyline.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Narelle&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2025 00:18:31 GMT</pubDate>
    <dc:creator>NarelleChedzey</dc:creator>
    <dc:date>2025-10-13T00:18:31Z</dc:date>
    <item>
      <title>Unable to Edit the Annotation Using Default Tool When Annotation Is Created Using ArcGIS Pro SDK Custom Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/unable-to-edit-the-annotation-using-default-tool/m-p/1656137#M13184</link>
      <description>&lt;P&gt;Annotations created using a custom SDK tool ("CustomToolText") in ArcGIS Pro cannot be edited using the out-of-the-box ArcGIS Pro Feature editing tools. In contrast, annotations created using the default ArcGIS Pro tool ("DefaultToolText") are editable as expected. The screenshot below illustrates the difference in behavior between the two types of annotations.&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;SampleFeature2&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SashiRekha_0-1759903051770.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141529i39F0F66486F83BF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SashiRekha_0-1759903051770.png" alt="SashiRekha_0-1759903051770.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Features ‘CustomToolText1’, ‘CustomToolText2’, ‘CustomToolText3’ are created by custom tools. Used Esri Move tool does not work. Shows the message below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SashiRekha_1-1759903097819.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141530i9229E58F914B2329/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SashiRekha_1-1759903097819.png" alt="SashiRekha_1-1759903097819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SashiRekha_2-1759903112318.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141531i57D2E8D6E4ECAC13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SashiRekha_2-1759903112318.png" alt="SashiRekha_2-1759903112318.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SashiRekha_3-1759903122315.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141532i7ED1E2158AADE00B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SashiRekha_3-1759903122315.png" alt="SashiRekha_3-1759903122315.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Feature ‘DefaultToolText1’ created using Create feature from ArcGIS Pro option. Used Esri Move tool works fine. Shows the message below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SashiRekha_4-1759903143442.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141533iD14D7DAE85989748/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SashiRekha_4-1759903143442.png" alt="SashiRekha_4-1759903143442.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SashiRekha_5-1759903150322.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/141534iC3974B4B52FD378A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SashiRekha_5-1759903150322.png" alt="SashiRekha_5-1759903150322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We compared the attribute values of both types of annotation features and found no differences. Despite this, the SDK-created annotations remain non-editable.&lt;BR /&gt;Has anyone encountered a similar issue or know what might be causing this behavior? Are there specific properties, schema elements, or feature class configurations that need to be set when creating annotation features via the SDK to ensure compatibility with ArcGIS Pro’s editing tools?&lt;BR /&gt;Any insights or suggestions would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Code snippet of Custom Tool for creating Annotation: &lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;private void CreateAnnotation(Geometry geometry)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;QueuedTask.Run(() =&amp;gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;try&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;if (Module1.isModify)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;if (inspector == null)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;inspector = new Inspector();&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;inspector.Load(ModifyAnnotation.pLayer, Module1.objectId);&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;annoProperties.LoadFromTextGraphic(ptextGraphic);&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;else&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;annoProperties.LoadFromTextGraphic(ptextGraphic);&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;if (inspector == null)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;var currenttemplate = ArcGIS.Desktop.Editing.Templates.EditingTemplate.Current;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;if (currenttemplate == null || geometry == null)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;if (currenttemplate == null)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;MessageBox.Show("select the annotation feature to create point rotate. current template is null.", "create point rotate");&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;else&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;MessageBox.Show("invalid geometry.", "create point rotate");&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;ActiveMapView.ClearSketchAsync();&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;return;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;inspector = currenttemplate.Inspector;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;annoProperties.Angle = 0;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;annoProperties.Shape = geometry;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;annoProperties.SymbolID = _symbolID;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;inspector.SetAnnotationProperties(annoProperties);&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;catch (Exception ex)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;ActiveMapView.ClearSketchAsync();&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;ptextGraphic = null;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;inspector = null;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;return;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;});&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 09:35:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/unable-to-edit-the-annotation-using-default-tool/m-p/1656137#M13184</guid>
      <dc:creator>SashiRekha</dc:creator>
      <dc:date>2025-10-09T09:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Edit the Annotation Using Default Tool When Annotation Is Created Using ArcGIS Pro SDK Custom Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/unable-to-edit-the-annotation-using-default-tool/m-p/1657345#M13189</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would double check the geometry that you are using within the line "&lt;EM&gt;annoProperties.Shape = geometry;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I took a look at the geodatabase you posted with your sample annotations and noticed the following -&amp;nbsp;the length of the polyline in the annotationProperties.Shape for the "&lt;SPAN&gt;DefaultToolText1" is 73.40126, whereas the length of the polylines for the annotation features created with your custom construction tool are 0 (CustomToolText1),&amp;nbsp;0.001 (CustomToolText2),&amp;nbsp;0.0009 (customToolText3) respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The annotationProperties.Shape is&amp;nbsp;&amp;nbsp;the geometry of the CIMTextGraphic which represents the baseline geometry that the annotation text sits on.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The small length values indicate that the CIMTextGraphic shape for your features is not correct or a long enough polyline.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Narelle&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 00:18:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/unable-to-edit-the-annotation-using-default-tool/m-p/1657345#M13189</guid>
      <dc:creator>NarelleChedzey</dc:creator>
      <dc:date>2025-10-13T00:18:31Z</dc:date>
    </item>
  </channel>
</rss>

