|
POST
|
Hi, You can implement States and Conditions to enable/disable controls on the ribbon. ProGuide: Code Your Own States and Conditions Sample: Working with DAML This sample has a section that creates a custom state and condition. Thanks Uma
... View more
04-09-2019
08:24 AM
|
1
|
0
|
1751
|
|
POST
|
Hi Max On further testing, I found that this code snippet works for 2.3. CIMPictureGraphic seems to work for 2D Maps at this point. A little bit of work is needed for 3D support still. It will be available in a future release. Note: This specific overload of the AddOverlay method needs to be used. SourceURL property is not being used currently. Used PictureURL instead. The only supported format to provide the URL currently are these: // e.g. local file URL (note the 3 slashes): // file:///<path> // file:///c:/images/symbol.png // e.g. network file URL: // file://<host>/<path> // file://server/share/symbol.png // get the current mapview and point
var mapView = MapView.Active;
if (mapView == null)
return;
var pictureGraphic = new CIMPictureGraphic();
pictureGraphic.PictureURL = @"file:///E:/Stuff/MyImage.png";
pictureGraphic.Box = envelope;
_graphic = mapView.AddOverlay(pictureGraphic); Thanks Uma
... View more
04-02-2019
04:58 PM
|
0
|
1
|
1500
|
|
POST
|
Hi Are you referring to the Zoom to button at the bottom of the Pop up - screenshot below: The only way to customize the Zoom to on the Pop-up is to provide your own pop-up. Here is a sample that shows you how to implement this: Custom Pop-up. Note: You cannot replace Pro's pop-up. Thanks Uma
... View more
04-01-2019
10:06 AM
|
1
|
0
|
756
|
|
POST
|
Hi Max, Adding CIMPictureGraphic to the Mapview overlay is not yet supported. Thanks Uma
... View more
03-29-2019
09:18 AM
|
1
|
1
|
1500
|
|
POST
|
Hi Greg I tested your scenario with feature classes stored in-memory workspaces created using GP Tools. I was able to add features to these feature classes using EditOperation. For example, the code snippet below worked on an in-memory feature layer in the active map- return QueuedTask.Run(() =>
{
var fc = layer.GetTable() as FeatureClass;
if (fc == null) return;
var fcDefinition = fc.GetDefinition();
var editOperation = new EditOperation();
editOperation.Name = "Create outer ring";
using (var cursor = fc.Search())
{
while (cursor.MoveNext())
{
var feature = cursor.Current as Feature;
if (feature == null) continue;
//Use .Create or any method here instead
editOperation.Duplicate(layer, feature.GetObjectID(), 50000.0, 50000.0, 0.0);
}
}
editOperation.Execute();
}); Thanks Uma
... View more
03-28-2019
01:12 PM
|
0
|
3
|
3344
|
|
POST
|
Hi Using the ExecuteToolAsync method in the Pro API, you can call GP tools such as the "Create Pansharpened Raster Dataset" tool. Thanks Uma
... View more
03-26-2019
01:59 PM
|
0
|
3
|
1491
|
|
POST
|
Hi You can read the config.daml of your configuration and obtain the custom conditions from the daml. There is code in the AddInInfoManager sample that reads the config.daml from an add-in. This code can be used for also reading the custom conditions defined in your configurations daml. Thanks Uma
... View more
03-22-2019
12:15 PM
|
0
|
1
|
1446
|
|
POST
|
Hi Ben The recommended approach now at 2.3 to run "server" builds of the add-in without Pro installed is to use the ArcGIS Pro Extensions NuGet.
... View more
03-22-2019
11:11 AM
|
2
|
4
|
2976
|
|
POST
|
Hi Oscar Try the Telerik Code converter. I use that to convert code and it works well. Thanks Uma
... View more
03-14-2019
09:07 AM
|
2
|
1
|
1412
|
|
POST
|
Here is a sample for tabs in dockpanes. Custom Catalog sample
... View more
03-12-2019
08:23 AM
|
0
|
0
|
939
|
|
POST
|
Manually changing the paths in the csproj should work, but you could miss a few paths.Also, there are entries in the config.daml that needs to be fixed too - So the tool makes this simpler Thanks! See you in Palm Springs. Uma
... View more
02-20-2019
06:29 AM
|
0
|
0
|
4011
|
|
POST
|
Hi Thomas, Since your Pro install location is different than the one used in the sample solution, you can use the "Pro Fix References" utility. You can get this utility by installing the ArcGIS Pro SDK for .NET (Utilities) vsix package from Visual Studio Marketplace. More information on the utility is here: Home · Esri/arcgis-pro-sdk Wiki · GitHub Run this utility on the sample solution. You will then be able to build it. Thanks Uma
... View more
02-20-2019
06:19 AM
|
0
|
2
|
4011
|
|
POST
|
Hi Matthew I am not seeing this problem with custom sketch tools using Pro 2.3 on my system. I am able to run the Map Tool Select sample and select features with file GDB and SDE databases. Can you please copy and paste the code for the MapToolSelect class from the Map tool select sample? Thanks Uma
... View more
02-19-2019
11:58 AM
|
0
|
2
|
1797
|
|
POST
|
When you use the Pro sketch tools (Map Tab on the ribbon) to select on your sde database features, does that work? Is it only the custom sketch tools in samples and add-ins that are exhibiting this behavior?
... View more
02-19-2019
11:38 AM
|
0
|
4
|
1797
|
|
POST
|
Hi Matthew When you use the sketch tools with 2.3, are you seeing an exception thrown by the code or that nothing gets selected on the map? Thanks Uma
... View more
02-19-2019
11:13 AM
|
0
|
6
|
1797
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 09:54 AM | |
| 1 | 01-21-2026 10:48 AM | |
| 1 | 09-18-2025 03:09 PM | |
| 1 | 11-04-2025 08:25 AM | |
| 1 | 09-23-2025 09:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|