|
POST
|
Hi The ArcGIS Pro DAML ID Reference page gives all the DAML IDs. Here is the one for the dockpane: Dockpane DAML IDs Thanks Uma
... View more
02-24-2017
06:43 AM
|
0
|
0
|
2265
|
|
POST
|
Hi Adrian, The GraduatedColorsRendererDefinition cannot be used for Manual breaks. Instead you can edit the CIM directly to accomplish this. Here is a code snippet below to do this: var lyr = MapView.Active.Map.GetLayersAsFlattenedList().OfType<FeatureLayer>().FirstOrDefault();
List<CIMClassBreak> listClassBreaks = new List<CIMClassBreak>
{
new CIMClassBreak
{
Symbol = SymbolFactory.ConstructPolygonSymbol(ColorFactory.RedRGB).MakeSymbolReference(),
UpperBound = 56
},
new CIMClassBreak
{
Symbol = SymbolFactory.ConstructPolygonSymbol(ColorFactory.GreenRGB).MakeSymbolReference(),
UpperBound = 68
},
new CIMClassBreak
{
Symbol = SymbolFactory.ConstructPolygonSymbol(ColorFactory.BlueRGB).MakeSymbolReference(),
UpperBound = 77
}
};
CIMClassBreaksRenderer cimClassBreakRenderer = new CIMClassBreaksRenderer
{
ClassBreakType = ClassBreakType.GraduatedColor,
ClassificationMethod = ClassificationMethod.Manual,
Field = "Y2008_VOTE",
Breaks = listClassBreaks.ToArray()
};
await QueuedTask.Run(() =>
{
lyr?.SetRenderer(cimClassBreakRenderer);
});
Thanks Uma Harano ArcGIS Pro SDK Team
... View more
02-22-2017
02:19 PM
|
1
|
2
|
1337
|
|
POST
|
Hi Benoit Correction: You do not have to set the autoload property to true in your example. The add-in should work with this property set to false (default value). Thanks Uma
... View more
02-10-2017
01:44 PM
|
0
|
0
|
3046
|
|
POST
|
Hi Max, We do not have the MSHA help file for ArcGIS Pro SDK. Thanks Uma
... View more
02-10-2017
01:42 PM
|
0
|
0
|
1610
|
|
POST
|
Hi Benoit You can accomplish this by: Set the "autoLoad" property in your Config.daml to true. This will allow your add-in to load automatically when ArcGIS Pro starts. The default setting for this property is false. In your Dockpane's view model, override the InitializeAsync method of the dockpane. Inside this method, check the status of your SAP connection and set a Boolean property. This property can then be used to bind to your controls in your Dockpane xaml - to set their enabled\disabled or visibility states. Thanks Uma
... View more
02-09-2017
07:42 AM
|
1
|
0
|
3046
|
|
POST
|
Hi Christophe Here is a wiki page with some instructions on configuring a build server to build add-ins: Configure build server to build add-ins and configurations This topic addresses issues on how to setup your build server so that you don't need a full installation of ArcGIS Pro. You should be able to use MSBuild or any other command line tool to build the add-in solution in an automated way. Please let us know if you run into any issues so we can help. Thanks Uma ArcGIS Pro SDK Team
... View more
02-09-2017
06:21 AM
|
2
|
0
|
1543
|
|
POST
|
Hi Christophe You can download the the ArcGIS Pro SDK chm file and then use it on your computer. From this page (https://github.com/Esri/arcgis-pro-sdk/releases ) scroll to the bottom of the ArcGIS Pro 1.4 SDK for .NET section and then click to download the ArcGISProAPIReference.chm file. Thanks Uma ArcGIS Pro SDK Team
... View more
02-09-2017
06:13 AM
|
2
|
1
|
1610
|
|
POST
|
Hi Benoit Just some clarification to understand your issue - When you open an ArcGIS Pro project, it remembers the Dockpanes that were open previously. So in your case, when the project opens up, the SAP connection is not valid, but still the controls in your Dockpane are visible\enabled. Is this what you are trying to solve? Thanks Uma
... View more
02-08-2017
05:43 PM
|
0
|
2
|
3046
|
|
POST
|
Hi Richard You have to "Await" the AddStyleAsync call. When you do that, your custom style is loaded into Pro and then you can work with it. The following code worked for me: string stylePath = Path.Combine(@"C:\Users\user\Documents\StyleGeoNetTest\max_honsell_styles.stylx");
await Project.Current.AddStyleAsync(stylePath);
StyleProjectItem style = Project.Current.GetItems<StyleProjectItem>().First(x => x.Name == "max_honsell_styles"); Thanks Uma
... View more
12-15-2016
11:24 AM
|
2
|
2
|
956
|
|
POST
|
Hi Andres The "Use Advanced editor" button is highlighted in the screenshot below. When you click that, you will see an option to Attach files to your message. Thanks Uma
... View more
12-12-2016
03:46 PM
|
1
|
3
|
3300
|
|
POST
|
Hi Andres, When you are typing up a message in GeoNet, click on the "Use Advanced Editor" on the top right corner above your message. You will see the "Attach" option at the bottom. Like this screenshot below. Thanks Uma
... View more
12-12-2016
12:26 PM
|
1
|
1
|
3300
|
|
POST
|
Hi Andres Can you please zip up your project and add it to this thread? I can take a look at it and see why this is not working for you. Thanks Uma
... View more
12-12-2016
11:06 AM
|
1
|
3
|
3300
|
|
POST
|
Hi Andres To see where the problem lies, you could try this: 1. In Visual Studio, create a simple add-in with just a button item using the SDK Templates. 2. In your file explorer, access the Images folder of this add-in on disk. 3. You will see the GenericButtonBlue32.png and GenericButtonBlue16.png. 4. Delete them. 5. Copy your custom png to this folder and rename your png to be GenericButtonBlue32.png and GenericButtonBlue16.png 6. In Visual Studio, compile your add-in project and test if the button loads in Pro with the custom png instead of the generic blue image. If it does, then you could check your add-in where it is not working. If it does not work, it could be a png issue. Thanks Uma
... View more
12-09-2016
02:26 PM
|
1
|
1
|
3300
|
|
POST
|
Hi Andres The two things to watch for while adding a custom image to a button is: The direction of the folder slash you specify for the png in the daml. The png file's BuildAction property specified in Visual Studio should be "AddInContent" and not Resource. There is a ProGuide Diagnosing ArcGIS Pro Add ins that discusses this. Check out the Image does not load on a Button control topic on this guide. Thanks Uma Harano ArcGIS Desktop SDK team
... View more
12-09-2016
12:07 PM
|
2
|
1
|
3300
|
|
POST
|
Hi Benoit The Layer Pop up sample does exactly what you mention - you will be able to customize the default pop-up displayed by the explore tool. Additionally, the pdf I listed in the previous post explains Layer pop-ups in Pro. Thanks - Uma
... View more
11-29-2016
01:39 PM
|
0
|
1
|
1552
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-18-2025 03:09 PM | |
| 1 | 11-04-2025 08:25 AM | |
| 1 | 09-23-2025 09:31 AM | |
| 1 | 11-20-2024 10:50 AM | |
| 1 | 04-28-2025 03:06 PM |
| Online Status |
Online
|
| Date Last Visited |
7 hours ago
|