POST
|
I've used for test Business_Analyst_Maplex.mxd from Business Analyst Maplex.mxd. I use Pro 2.3.2, but I think the problem exists in later versions too. Please do tests with the map I pointed to.
... View more
12-20-2019
12:03 PM
|
0
|
1
|
18
|
POST
|
Hi Uma, CopyLayer throws: System.ArgumentException HResult=0x80070057 Message=Operation on file my_computer_path \AppData\Local\Temp\ArcGISPro11192\F986138A-1986-48FA-AB7D-E5539108F359\Metadata\599ca023c9e23f36f1b3a3e2650c49df.xml failed. Unknown error.
... View more
12-20-2019
01:34 AM
|
0
|
3
|
18
|
POST
|
I'm trying to prevent Pro from importing MXD as new map. I want to insert content of the document as a group layer within current map. What I tried: var item = ItemFactory . Instance . Create ( "doc.mxd" ) ; var currentMap = MapView . Active . Map ; var map = await QueuedTask . Run ( ( ) = > MapFactory . Instance . CreateMapFromItem ( item ) ) ; await QueuedTask . Run ( ( ) = > { var groupLayer = LayerFactory . Instance . CreateGroupLayer ( currentMap , 0 , map . Name ) ; foreach ( var layer in map . Layers ) { groupLayer . MoveLayer ( layer , int . MaxValue ) ; } } ) ; I get exception on line 11: ArcGIS.Desktop.Mapping.MappingException HResult=0x80004005 Message=Source layer's container not found. Source=ArcGIS.Desktop.Mapping Inner Exception 1: COMException: Source layer's container not found. Is it possible to import map as group layer in some way?
... View more
12-19-2019
02:15 AM
|
0
|
5
|
134
|
POST
|
I have raster layer added to map. I need to change its raster on current extent change. So I take Raster, set its RasterProps (width, height, extent) and write PixelBlock. And after that I expect raster layer updated showing new raster. But instead exception thrown on RasterEdit.Write. How can I update raster of raster layer to completely replace old raster data including numbers of columns and rows?
... View more
12-16-2019
09:01 AM
|
0
|
1
|
58
|
POST
|
Is it possible to handle click on a feature of feature layer? So if I click a feature, custom code is executed.
... View more
12-14-2019
12:12 PM
|
0
|
1
|
85
|
POST
|
Hi Uma, Thanks for the answer. Maybe it's possible to handle click on map WITHOUT creating custom tool? It might be a workaround.
... View more
12-13-2019
05:24 AM
|
0
|
0
|
14
|
POST
|
Is it possible to handle click on graphics added via MapView. AddOverlayAsync? I want to execute some code for corresponding graphic element when it's clicked.
... View more
12-12-2019
02:36 AM
|
0
|
2
|
75
|
POST
|
Is there in ArcObjects a class like HeatMapRenderer in ArcGIS Pro SDK so I can apply heatmap renderer to a point feature layer?
... View more
11-23-2019
09:14 AM
|
0
|
0
|
88
|
POST
|
I think using application events is wrong way. I need exactly points in time where add-in initialized and uninitialized. I can use extension for that purpose. But it's complexity without any benefits for user (user should remember that turning extension on in Extension dialog is required to use add-in).
... View more
10-24-2019
02:34 AM
|
0
|
0
|
23
|
POST
|
Toolbar with buttons. But it doesn't matter. I need to do some actions when add-in starts and finishes. And I want to do these actions without extension.
... View more
10-21-2019
07:39 AM
|
0
|
0
|
23
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|