<?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 Programmatically add graphics when sketch widget is in Create mode in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/programmatically-add-graphics-when-sketch-widget/m-p/1614549#M87150</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the time to check this question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the Polyline tool enabled, I'm trying to add a vertex to the graphics when the sketch widget is in create mode. I can get the vertex from the added graphic layer when a state is in active and polyline, but I'm not able to programmatically create a new vertex in create mode. We can do it with an update reshape, but we want to create a new vertex when creating the sketch widget.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the codepen link, where I'm able to get the get create graphics but I tried to programmatically add a vertex, but it's not getting added to that vertex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help in advance!&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/Andy0206/pen/xbbaBmd?editors=1000" target="_blank"&gt;https://codepen.io/Andy0206/pen/xbbaBmd?editors=1000&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 14:13:06 GMT</pubDate>
    <dc:creator>SaiPeketi</dc:creator>
    <dc:date>2025-05-14T14:13:06Z</dc:date>
    <item>
      <title>Programmatically add graphics when sketch widget is in Create mode</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/programmatically-add-graphics-when-sketch-widget/m-p/1614549#M87150</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the time to check this question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the Polyline tool enabled, I'm trying to add a vertex to the graphics when the sketch widget is in create mode. I can get the vertex from the added graphic layer when a state is in active and polyline, but I'm not able to programmatically create a new vertex in create mode. We can do it with an update reshape, but we want to create a new vertex when creating the sketch widget.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the codepen link, where I'm able to get the get create graphics but I tried to programmatically add a vertex, but it's not getting added to that vertex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help in advance!&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/Andy0206/pen/xbbaBmd?editors=1000" target="_blank"&gt;https://codepen.io/Andy0206/pen/xbbaBmd?editors=1000&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 14:13:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/programmatically-add-graphics-when-sketch-widget/m-p/1614549#M87150</guid>
      <dc:creator>SaiPeketi</dc:creator>
      <dc:date>2025-05-14T14:13:06Z</dc:date>
    </item>
  </channel>
</rss>

