|
POST
|
Hi Thomas, There are many problems with the GeoProcessing Tool "Apply Symbology From Layer" especially from API. Some problems are related to display cache. I reported them to Esri support and they marked them as bugs. That tool in 1.4.1 worked better than in 2.0 (I mean from API). To check if problem related to cache make following workflow: 1. After applying lyrx from API open layer properties 2. Goto Cache tab. 3. Clear cache 4. Set "Don't cache any data locally". 5. Press OK and close layer proeprties
... View more
07-19-2017
11:38 PM
|
1
|
2
|
4560
|
|
POST
|
Hi Vladislav, I think supports. We are using in our ArcGIS Pro addins interop for c++ library
... View more
07-04-2017
07:04 AM
|
0
|
0
|
995
|
|
POST
|
Group object property appearsOnAddInTab must be set to false
... View more
07-04-2017
02:46 AM
|
1
|
0
|
1035
|
|
POST
|
Hi Max This is a peace of code from snippets (look at notes): https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Raster // Create a FileGeodatabaseConnectionPath using the path to the gdb.
// Note: This can be a path to a .sde file.FileGeodatabaseConnectionPath geodatabaseConnectionPath = new FileGeodatabaseConnectionPath(new Uri(@"C:\Temp\rasters.gdb"));// Create a new Geodatabase object using the FileGeodatabaseConnectionPath.Geodatabase geodatabase = new Geodatabase(geodatabaseConnectionPath);
... View more
07-03-2017
04:40 AM
|
1
|
0
|
1596
|
|
POST
|
Laurentiu, You must use DatabaseConnectionProperties only to find right geodatabase from 1 step. Then you need to read Path property from GDBProjectItem. It contains full path to sde file. I can send you detailed source code sample if you need.
... View more
06-23-2017
12:11 AM
|
0
|
7
|
4074
|
|
POST
|
I would like to reuse query definition building dialog in my application to let user build your own query to collect objects for calculations. That whereclause string will be frequently used and will be saved to database to remember. So customer do not need to make selection by attribute each time. ArcGIS Pro layer Properties command has property page for building queries. Is there API to use that dialog? It is possible to use query definition building dialog from ArcMap ArcObjects.
... View more
06-15-2017
07:59 AM
|
0
|
3
|
1508
|
|
POST
|
Laurentiu, I had the same problem with sde file path. I have made workaround: 1. Read all project geodatabases using Project.Current.GetItems<GDBProjectItem>(). GDBProjectItem contains Path property. 2. Read connection properties from your table object (pTable.GetDatastore().GetConnector() as DatabaseConnectionProperties). 3. Check all GDBProjectItem's from 1 step by comparing connection properties (item.GetDatastore().GetConnector() and try cast to DatabaseConnectionProperties). Equal method does not work for Connector or DatabaseConnectionProperties objects, so you need to check all DatabaseConnectionProperties object properties (DBMS, Database, Instance and etc.) one by one. I hope it helps you Gintautas
... View more
06-15-2017
07:39 AM
|
2
|
1
|
4074
|
|
POST
|
I am looking for equivalent of ArcObjects ILayer Valid method which indicates if the layer is currently valid: http://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ILayer_Valid.htm
... View more
05-18-2017
06:41 AM
|
0
|
0
|
828
|
|
POST
|
I have found that I can use ItemFactory, to create Item from raster path. If there is no raster at specified path then ItemFactory.Create(sResultRaster) returns null. I have noticed too that ArcGIS Pro remembers many different info about your used data. So if you deleted some data using ArcMap or ArcCatalog, but your opened ArcGIS Pro thinks that data still exist and successfully creates Item object and etc. After restarting ArcGIS Pro all goes fine. I think it is not so good thing.
... View more
05-03-2017
07:12 AM
|
0
|
1
|
870
|
|
POST
|
Hi Wolfgang, Thanks for the answer. It works again after another small windows update without any actions.
... View more
04-17-2017
11:24 PM
|
0
|
0
|
986
|
|
POST
|
I have installed Windows 10 Creator update today. I can not start ArcGIS Pro from Visual Studio 2013 now to debug add-ins. I get Access violation exception: 'ArcGISPro.exe' (CLR v4.0.30319: ArcGISPro.exe): Loaded 'C:\Program Files\ArcGIS\Pro\bin\ArcGIS.Desktop.Docking.Wpf.dll'. Cannot find or open the PDB file. 'ArcGISPro.exe' (CLR v4.0.30319: ArcGISPro.exe): Loaded 'C:\Program Files\ArcGIS\Pro\bin\ArcGIS.Desktop.Ribbon.Wpf.dll'. Cannot find or open the PDB file. The program '[8400] ArcGISPro.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'. All things work fine before update. The same situation is with my project of ArcGIS Pro add-ins and with ArcGIS Pro SDK samples from GitHub. Does anyone installed that Windows update and have no problems with debugging?
... View more
04-14-2017
06:42 AM
|
0
|
3
|
1498
|
|
POST
|
Hi Thomas, Geoprocessing tool "ApplySymbologyFromLayer_management" with raster layer works for me too, but I have tested not all of the renderers. I have tried only Classify renderer. What kind of renderers have you tried?
... View more
04-13-2017
08:22 AM
|
0
|
0
|
3309
|
|
POST
|
I would like to do some raster calculations. My parameters dialog lets to specify results raster path. I want to check if result raster exists and ask for overwriting. I have tried to create RasterLayer using LayerFactory without specifying ILayerContainerEdit, but I get exception. Is it possible to browse workspace for datasets like in ArcObjects with IEnumDataset?
... View more
04-13-2017
03:18 AM
|
0
|
2
|
1265
|
|
POST
|
Hi Thomas, Thank you for reply. I work on R&D with ArcGIS Pro programming now, so I will wait for solution from ArcGIS Pro Documentation team because It works from ArcGIS Pro Geoprocessing window.
... View more
04-13-2017
03:02 AM
|
0
|
2
|
3309
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | Thursday | |
| 1 | 2 weeks ago | |
| 2 | 2 weeks ago | |
| 1 | 10-24-2025 10:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|