Open lbross opened 2 years ago
The current 2.8.2 add-in does not run on ArcGIS Pro 3. PSU has decided to deploy ArcGIS Pro 3 in our labs. Set up an ArcGIS Pro 3 development environment on CS1 to vet our BAGIS-PRO add-in and the Python scripts that load the awdb layers.
I just published an addIn for v3.0.x to the basins server! It is in a folder called /BAGIS/BAGIS_addins/BAGIS PRO/v3.0.1. Please test it at your leisure.
I tested running the awdb-retrieve scripts from CS1 which is running ArcGIS Pro 3. The scripts ran without issue. I feel confident upgrading basins to ArcGIS Pro 3 when we are ready to make the switch.
In the addIn I just posted, we now query the registry for the Chrome path, in case it is installed in a non-standard location. If it's not found, an error is printed to the log. I plan to upgrade basins to ArcGIS Pro 3 next week. This will be used when running the awdb scripts and posting to AGOL.
The addin works fine on ArcPro 3.1.1. I notice a few issues.
And from 3.X
I verified that the raster is in the analysis.gdb
That's all. I have put a copy of the AOI on the ftp server. The file name is lake_mary_reservoirinflow(2)_09202010.zip
Thanks for taking a look at this. There is a new add-in on basins for you to try at /BAGIS/BAGIS_addins/BAGIS PRO/v3.0.1. I noticed a patch for Pro so CS1 is now running v3.1.1. This is the version that created the report I posted.
This is the issue I told you about on Thursday that I spent a multiple days on last week. CS1 generated this page correctly. I am out of ideas to try next. This is the call to each mapFrame that doesn't seem to work consistently:
Map m = mapFrame.Map;
//Get the specific layer you want from the map and its extent
FeatureLayer lyr = m.FindLayers("Basin Boundary").First() as FeatureLayer;
mapFrame.SetCamera(lyr);
The next step should probably be to open a case with ESRI, as it seems this is a problem somewhere with marshalling the SetCamera function, but it's tough to come up with a use case for them to recreate. It's in the middle of a complex algorithm.
I placed my report for 09400910_AZ_USGS in the same folder as the new 3.x addIn. You will (hopefully) see that items 2 and 3 aren't manifested in this report.
I have created a separate folder (BAGIS PRO 3.X) to hold the addins for ArcGIS Pro 3.X and put a copy of the latest 2.X addin (dated 3/13/2023) in the BAGIS PRO 2.X folder. I will report back if I am able to get around the mapFrame issue.
This is a major release and it seems that our add-in will not be forwards compatible. It will need to be recompiled. There are also major changes on the Python side which impact that awdb script. There is not a compelling reason to update immediately but we should get this on the roadmap.
http://geospatialtraining.com/whats-new-in-arcgis-pro-3/