|
POST
|
Hi @ljlopez Couple things regarding your question - Windows SDK's SignTool.exe does not support signing esriAddInX files. This is the reason the Pro team created the ArcGISSignAddIn.exe. Regarding Azure Key Vault - As per my understanding, your private key is stored in the vault. The private key needs to be imported into your Windows Store (Refer to Azure Key Vault documentation for this step). Once the certificate is available in your Windows Store, you can use ArcGISSignAddIn.exe to sign the addin. Thank you! Uma
... View more
06-14-2024
10:40 AM
|
1
|
1
|
1820
|
|
POST
|
You can access and work with the grid elements using the CIM (Pro's Cartographic Information Model.) * Download the CIMViewer. Compile and deployt it. * Use the CIMViewer to examine the Layout. (In the layout view, select the layout and click the Show CIM Viewer button. This will give you an idea about the CIMLayout and how to access its elements. * Your code to access the MapGrid will look like this: var layoutView = LayoutView.Active;
if (layoutView == null)
return;
await QueuedTask.Run( () => {
var cimLayout = layoutView.Layout.GetDefinition();
var layoutElements = cimLayout.Elements;
var mapFrame = layoutElements.OfType<CIMMapFrame>().FirstOrDefault();
var mapGirds = mapFrame.Grids;
//get the first map grid
var mapGrid = mapGirds.FirstOrDefault();
//Do something with the map grid
mapGrid.NeatlineSymbol = ....; //etc
});
... View more
06-13-2024
09:40 AM
|
0
|
0
|
599
|
|
POST
|
Yes, this is possible. Check out this section in the wiki: Control order of add-in loading using DAML
... View more
06-13-2024
09:15 AM
|
0
|
0
|
1210
|
|
POST
|
Since you have access to the SymbolLayers, you can manipulate any of these layers. //Get the layers in the symbol
var symbolLayer = polygonSymbol.SymbolLayers.ToList();
//Can modify the layers in the symbol anyway you want.
... View more
06-13-2024
07:01 AM
|
0
|
0
|
1100
|
|
POST
|
@AbdelmounaimNejjari Can you please share a simple addin that loads this assembly? Just so I can repro and see what is causing this issue. Thanks! Uma
... View more
06-12-2024
03:25 PM
|
0
|
0
|
912
|
|
POST
|
The changes in Digital Signing is because of the change in the industry standards that require private keys for standard code signing certificates to be stored on Hardware Security Modules (HSMs). ArcGISSignAddIn.exe can continue to be used to sign certificates stored in the Windows Certificate Store on your machine. (Pro 3.1 and Pro 3.2 will be able to support that).
... View more
06-12-2024
12:45 PM
|
1
|
1
|
1256
|
|
POST
|
Symbols are made of layers. You can extract the symbol layers from your renderer's symbol and add the fill symbol to these layers. Here is a code snippet var renderer = lyr.GetRenderer() as CIMSimpleRenderer;
//Get the renderer's symbol and cast it to the type of symbol
var polygonSymbol = renderer.Symbol.Symbol as CIMPolygonSymbol;
//Get the layers in the symbol
var symbolLayer = polygonSymbol.SymbolLayers.ToList();
//Create a solid fill symbol layer
var fill = SymbolFactory.Instance.ConstructSolidFill(ColorFactory.Instance.RedRGB);
//Add the fill to the symbol layers
symbolLayer.Add(fill);
//Set the symbol layers back to the symbol
polygonSymbol.SymbolLayers = symbolLayer.ToArray();
//Set the symbol back to the renderer
renderer.Symbol.Symbol = polygonSymbol;
//Set the renderer back to the layer
lyr.SetRenderer(renderer); You can see the renderer's symbol layers in the UI Like this:
... View more
06-12-2024
06:15 AM
|
0
|
1
|
1122
|
|
POST
|
@MariusN You can use the CIMNumericFormat to format the labels on the renderer. Once your modify the renderer with this format, call the RecalculateRenderer method to update the renderer with your format. Pass in "false" to this method so that it does not regenerate the values for the class breaks. Here is a code snippet GraduatedColorsRendererDefinition gcDef = new GraduatedColorsRendererDefinition()
{
ClassificationField = "POP2000",
ClassificationMethod = ClassificationMethod.NaturalBreaks,
BreakCount = 5,
ColorRamp = GetColorRamp()
};
CIMClassBreaksRenderer renderer = (CIMClassBreaksRenderer)featureLayer.CreateRenderer(gcDef);
var numberFormat = new CIMNumericFormat
{
RoundingValue = 4,
RoundingOption = esriRoundingOptionEnum.esriRoundNumberOfDecimals,
ZeroPad = false
};
renderer.NumberFormat = numberFormat;
featureLayer?.SetRenderer(renderer);
featureLayer?.RecalculateRenderer(false);
... View more
06-10-2024
10:12 AM
|
0
|
0
|
1065
|
|
POST
|
@FanisDeligiannis I can post back to this thread if I have an update on this issue. But here is a workaround to access and set queries. You can access the CIM Definition of the ImageService Layer - this will give you access to the definition queries. Here is a code snippet that shows you how to do this. var definition = imageServiceLayer.GetDefinition() as CIMImageServiceLayer;
var featureTable = definition.FeatureTable;
//This is a list of all the definition queries
var defnFilterChoices = featureTable.DefinitionFilterChoices;
//Iterate through the definition queries
foreach (var defnFilterChoice in defnFilterChoices)
{
//access the definition queries here
var cimDefinitionFilter = defnFilterChoice as CIMDefinitionFilter;
var queryName = cimDefinitionFilter.Name;
var expression = cimDefinitionFilter.DefinitionExpression;
}
//To activate a definition query
featureTable.DefinitionExpression = "Name = '76264301'"; //example
featureTable.DefinitionExpressionName = "Query 1"; //example
//Set defintion
imageServiceLayer.SetDefinition(definition);
... View more
06-10-2024
08:59 AM
|
2
|
0
|
1506
|
|
POST
|
Hi I see the same issue. Thanks for reporting this one. I have submitted an issue to the development team that owns this functionality. Thanks! Uma
... View more
06-07-2024
06:21 PM
|
1
|
1
|
1544
|
|
POST
|
Hi, What version of Pro are you on? I am unable to reproduce this issue. Also, as an FYI - You can add fields to a dataset using DDL: Adding or Removing Fields Thanks! Uma
... View more
06-07-2024
01:48 PM
|
0
|
0
|
633
|
|
POST
|
Do you mean - you want to drop 2 different items into the 2 different combo boxes? You can implement this in your OnDrop callback in the dockpane. Something like this: public override async void OnDrop(DropInfo dropInfo)
{
//eg, if you are accessing a dropped file
if (dropInfo.Data is List<ClipboardItem> clipboardItems) //Dropped from Catalog
{
var thisItem = clipboardItems.FirstOrDefault();
var itemInfo = thisItem.ItemInfoValue.typeID;
if (itemInfo == "database_fgdb") //File GDB
{
Name = thisItem.CatalogPath; //binding property for text box control in dockpane
GDBItems = await GetGDBItemsAsync();
}
if (itemInfo == "cim_map_map") //Map
MapName = thisItem.CatalogPath; //another binding property for another text box in the dockpane
...
}
... View more
05-31-2024
10:22 PM
|
2
|
0
|
1468
|
|
POST
|
Hi @ReilDeal92 Another alternative to create a LasDatasetLayer is to use the .NET API. At 3.2, we added support for working with 3D Layers such as LASDataset layers. ProConcepts: 3D Analyst Layers ProConcepts: 3D Analyst Data Here is a code snippet to use create a LASDataset layer from an existing LAS Dataset. QueuedTask.Run(() =>
{
//Use the various constructors available to create a LasDatasetLayerCreationParams object from an Item, LasDataset, etc. Refer to https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic20557.html
var lasDatasetCreationParams = new LasDatasetLayerCreationParams(new Uri(@"C:\Data\lasDataset.lasd"))
{
Name = "LasLayerUsingAPI",
};
var lasLayer = LayerFactory.Instance.CreateLayer<LasDatasetLayer>(lasDatasetCreationParams, MapView.Active.Map);
});
... View more
05-22-2024
10:15 AM
|
2
|
0
|
1022
|
|
POST
|
Hi Abhijeet To allow a Dockpane to be a " Drop Target", please check the info in this section of the ProGuide: Dockpanes.
... View more
05-22-2024
09:12 AM
|
0
|
0
|
887
|
|
POST
|
Hi! Regarding dynamic texts in the report header, the only dynamic tags supported are in listed in this help page: https://pro.arcgis.com/en/pro-app/latest/help/reports/dynamic-report-elements.htm Anything related to features in the report data source are only relevant in the Fields section (ReportDetails). They cannot be used in the Header. Thanks for letting me know about the wrapping issues. I will share this info with the Reports Dev team. Uma
... View more
05-17-2024
02:21 PM
|
0
|
0
|
2185
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 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
|