<?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: Loading multiple features into the inspector in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-multiple-features-into-the-inspector/m-p/821441#M2859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Susan,&lt;/P&gt;&lt;P&gt;Using row cursors instead of the inspector class will almost certainly be faster when retrieving the shape for a large number of features. You cant bulk load the inspector get the individual shapes at this time.&lt;/P&gt;&lt;P&gt;In a future release we'll have a quicker method for getting/setting the shape value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2019 00:29:04 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-05-10T00:29:04Z</dc:date>
    <item>
      <title>Loading multiple features into the inspector</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-multiple-features-into-the-inspector/m-p/821440#M2858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to decrease the performance time for ArcPro. A bit of code I am currently looking at is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; foreach (long oid in oidList) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; var inspector = new Inspector();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; inspector.Load(lyr.Value, oid);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Node nd = new Node();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Geometry geo = inspector.Shape;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; MapPoint pt = geo as MapPoint;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; nd.Lat = (float)pt.Y;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was attempting to do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var inspector = new inspector;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; inspector.Load (lyr.Value, oidList);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but then the inspector.Shape is null. Is there a way to load all of the oidList at once and still get to Shapes or should we just use rowcursors or something else? This for loop is taking almost 2 minutes on a small layer of 5600 nodes so I am dreading what will happen when we use the larger layers that the users will use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 19:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-multiple-features-into-the-inspector/m-p/821440#M2858</guid>
      <dc:creator>SusanFarley</dc:creator>
      <dc:date>2019-05-08T19:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loading multiple features into the inspector</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-multiple-features-into-the-inspector/m-p/821441#M2859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Susan,&lt;/P&gt;&lt;P&gt;Using row cursors instead of the inspector class will almost certainly be faster when retrieving the shape for a large number of features. You cant bulk load the inspector get the individual shapes at this time.&lt;/P&gt;&lt;P&gt;In a future release we'll have a quicker method for getting/setting the shape value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 00:29:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/loading-multiple-features-into-the-inspector/m-p/821441#M2859</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-05-10T00:29:04Z</dc:date>
    </item>
  </channel>
</rss>

