<?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: Create    fishnet in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1499897#M11779</link>
    <description>&lt;P&gt;I &amp;nbsp;checked the file location，no shapefile （fishnet ）was created.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 15:18:53 GMT</pubDate>
    <dc:creator>rs_gs</dc:creator>
    <dc:date>2024-07-01T15:18:53Z</dc:date>
    <item>
      <title>Create    fishnet</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1497054#M11740</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to create a fishnet using the csharp code，Why isn't it generated after the code runs？thank&amp;nbsp;you.&lt;/P&gt;&lt;P&gt;rs&lt;/P&gt;&lt;P&gt;await QueuedTask.Run(async () =&amp;gt;&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;string out_feature_class = @"F:\data\fishnet.shp";&lt;BR /&gt;double cellSizeWidth = 0;&amp;nbsp;&lt;BR /&gt;double cellSizeHeight = 0;&amp;nbsp;&lt;BR /&gt;long numRows = 10;&lt;BR /&gt;long numCols = 10;&lt;BR /&gt;string labels = "NO_LABELS";&lt;BR /&gt;string template = "DISPLAY";&lt;BR /&gt;string geometryType = "POLYGON";&lt;BR /&gt;var parameters = Geoprocessing.MakeValueArray(out_feature_class, null, null, cellSizeWidth, cellSizeHeight, numRows, numCols, "",labels, template, geometryType);&lt;/P&gt;&lt;P&gt;await Geoprocessing.ExecuteToolAsync("management.CreateFishnet", parameters）；&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 10:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1497054#M11740</guid>
      <dc:creator>rs_gs</dc:creator>
      <dc:date>2024-06-25T10:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create    fishnet</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1497162#M11743</link>
      <description>&lt;P&gt;Does the shapefile get created on your drive but isn't added to the map? If so, set the GPExecuteToolFlags enumeration to AddOutputsToMap in the ExecuteToolAsync.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;await Geoprocessing.ExecuteToolAsync("management.CreateRandomPoints", createPointsParamsValueArray, null, CancelableProgressor.None, GPExecuteToolFlags.AddOutputsToMap);&lt;/LI-CODE&gt;&lt;P&gt;Or does it result in nothing getting created? I return an IGPResult from my geoprocessing tasks to check if they're successful.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;IGPResult createRandomPointsMessage = await Geoprocessing.ExecuteToolAsync("management.CreateRandomPoints", createPointsParamsValueArray, null, CancelableProgressor.None, GPExecuteToolFlags.AddOutputsToMap);

if (createRandomPointsMessage.IsFailed)
{
  System.Diagnostics.Debug.WriteLine("Create random points errors");
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 15:22:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1497162#M11743</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-06-25T15:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create    fishnet</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1499897#M11779</link>
      <description>&lt;P&gt;I &amp;nbsp;checked the file location，no shapefile （fishnet ）was created.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 15:18:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1499897#M11779</guid>
      <dc:creator>rs_gs</dc:creator>
      <dc:date>2024-07-01T15:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create    fishnet</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1500188#M11792</link>
      <description>&lt;P&gt;The problem is solved, two parameters are added（&lt;SPAN&gt;origin_coord，y_axis_coord&lt;/SPAN&gt;）, and two parameters are modified（&lt;SPAN&gt;cell_width，cell_height&lt;/SPAN&gt;）.And delete this code：LayerFactory.Instance.CreateLayer(new Uri(out_feature_class), mapView.Map)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 07:07:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-fishnet/m-p/1500188#M11792</guid>
      <dc:creator>rs_gs</dc:creator>
      <dc:date>2024-07-02T07:07:45Z</dc:date>
    </item>
  </channel>
</rss>

