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
|
803
|
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
|
803
|
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
|
919
|
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
|
373
|
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
|
381
|
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
|
435
|
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
|
496
|
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
|
294
|
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
|
813
|
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
|
813
|
POST
|
I'm developing add-in using ArcObjects for .NET for ArcMap. Where can I place code on add-in startup and shutdown? Right now I'm using extension within add-in for that purpose. But I want to get rid of extension. Is it possible?
... View more
10-19-2019
02:46 AM
|
0
|
4
|
962
|
POST
|
Is it possible with ArcGIS Pro SDK to add content of mxd and pitemx files to map? For example, for mxd as a group layer containing all layers inside mxd.
... View more
10-02-2019
12:34 PM
|
0
|
1
|
1050
|
POST
|
No. But maybe they will add this feature to future releases
... View more
07-01-2019
05:24 AM
|
0
|
0
|
533
|
POST
|
Hi, That's not what I'm talking about. Assume you have 2 groups on your ribbon. You want to place first group on the left of ribbon and second one on the right of ribbon, creating empty space between them.
... View more
07-01-2019
02:08 AM
|
0
|
2
|
533
|
POST
|
Is it possible to change alignment of ribbon groups? So is it possible to place a group at the right of ribbon and other groups at the left?
... View more
06-28-2019
10:57 AM
|
0
|
4
|
612
|
Title | Kudos | Posted |
---|---|---|
1 | 11-20-2017 12:35 PM | |
1 | 02-16-2017 08:55 PM | |
1 | 01-13-2017 07:15 PM | |
1 | 11-18-2017 06:15 AM | |
1 | 01-30-2017 04:00 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|