|
POST
|
Just to confirm, this is a Pro SDK Configuration project, correct? And you using version 2.5? I have found that the new Visual Studio versions implement some sort of "delay" loading of the 3rd party tools such as the Pro SDK utilities. Though it looks like you have checked the Project node context menu a few times, correct?
... View more
07-15-2020
12:17 PM
|
0
|
1
|
2526
|
|
POST
|
Glad that worked! Just for future use - There is a Pro SDK tool called "Pro Fix References utility" that is available to solve these "reference" issues. (Issue that occur when you share projects and Pro is installed in different locations). Here is the info on this utility: Pro Fix References Utility You can install this utility from Visual Studio Market place. ArcGIS Pro SDK for .NET (Utilities) - Visual Studio Marketplace Thanks for posting the update! Uma
... View more
07-14-2020
12:44 PM
|
0
|
3
|
2526
|
|
POST
|
Hi Couple of things to check: 1. Can you please check this folder to see if the Configuration was copied over: C:\Users\<UserName>\Documents\ArcGIS\AddIns\ArcGISPro\Configurations 2. Are you able to build an Add-in on this machine? If you create a simple add-in (no need to add any code) using the SDK template, do you see a similar problem where no esriAddinX file is created? 3. Finally, if you can open your csproj file for the configuration that fails to create the ProConfigX file, please check if these lines are there at the bottom: <UsingTask AssemblyFile="C:\Program Files\ArcGIS\Pro\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.PackageAddIn" />
<UsingTask AssemblyFile="C:\Program Files\ArcGIS\Pro\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.CleanAddIn" />
<UsingTask AssemblyFile="C:\Program Files\ArcGIS\Pro\bin\proapp-sdk-MSBuild.dll" TaskName="proapp_sdk_MSBuild.ConvertToRelativePath" />
<Import Project="C:\Program Files\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets" Condition="Exists('C:\Program Files\ArcGIS\Pro\bin\Esri.ProApp.SDK.Desktop.targets') AND !Exists('Esri.ArcGISPro.Extensions.targets')" /> Thanks Uma
... View more
07-14-2020
08:37 AM
|
0
|
5
|
2526
|
|
POST
|
Here are some code snippets that show you how to get Feature layers from a feature service. https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapAuthoring#create-layer
... View more
07-14-2020
07:36 AM
|
1
|
1
|
1594
|
|
POST
|
Hi Piyush Only ArcGIS.CoreHost and ArcGIS.Core assemblies are supported with a console application in ArcGIS Pro. Thanks! Uma
... View more
06-30-2020
08:27 AM
|
0
|
0
|
985
|
|
POST
|
Hi Robert, I don't see an UI setting for Search Tolerance either. Uma
... View more
06-29-2020
02:47 PM
|
0
|
1
|
2257
|
|
POST
|
Hi You can set the Resize behavior using the CIM Definition of the scale bar. In my example, I used a simple "Scale Line" type of scale bar. The CIM Definition you retrieve needs to be cast to the type of scale bar you are using. QueuedTask.Run( () => {
var lyt = Project.Current.GetItems<LayoutProjectItem>().FirstOrDefault().GetLayout();
Element scaleBar = lyt.FindElement("Scale Bar") as Element;
var scaleBarDefn = scaleBar.GetDefinition() as CIMScaleLine;
//Enums
scaleBarDefn.FittingStrategy = ScaleBarFittingStrategy.AdjustDivisionAndDivisions;
scaleBar.SetDefinition(scaleBarDefn);
}); Thanks! Uma
... View more
06-26-2020
02:38 PM
|
0
|
1
|
1574
|
|
POST
|
Currently, you can use a GP Tool to work with GeoJSON conversion: JSON To Features—Conversion toolbox | Documentation ExecuteToolAsync API method can be used to call any GP tool. Thanks! Uma
... View more
06-26-2020
09:33 AM
|
2
|
0
|
1158
|
|
POST
|
In Pro, you can use the SelectionEnvironment class. SelectionTolerance SetSelectionTolerance Thanks! Uma
... View more
06-26-2020
09:22 AM
|
0
|
6
|
2257
|
|
POST
|
Hi Mody, In your CoreHost console/WPF app, if you want to use GP, you will have to use Python.exe. Regarding the checking of status while running Python.exe, that might be a good question for the Python forum perhaps. Thanks Uma
... View more
06-26-2020
09:05 AM
|
0
|
0
|
4200
|
|
POST
|
Hi Mitchell This is a bug. The good news is that it is now fixed and will be available with 2.7. Thanks for catching this error and reporting it. Thanks Uma
... View more
06-25-2020
08:30 AM
|
1
|
0
|
857
|
|
POST
|
Hi Brain, At 2.5 and previous versions, you can use Map overlays to create graphic elements on your map. GeometryEngine provides methods to calculate the sewer connection points along the line. You can create your graphic elements at these points. MapOverlay samples New at 2.6: GraphicsLayer API will be available and you can alternatively also use that to create the elements. Thanks Uma
... View more
06-24-2020
06:55 PM
|
2
|
2
|
2151
|
|
POST
|
Hi Here is a code snippet that worked for me - await QueuedTask.Run(() =>
{
LayoutProjectItem layoutItem = Project.Current.GetItems<LayoutProjectItem>().FirstOrDefault();
var layout = layoutItem.GetLayout();
//Build 2D point geometry
Coordinate2D coord2D = new Coordinate2D(2.0, 10.0);
Image newImage = Image.FromFile(@"C:\Users\...\Image.png");
var stream = new System.IO.MemoryStream();
newImage.Save(stream, ImageFormat.Png);
stream.Position = 0;
CIMMarker markerFromStream = SymbolFactory.Instance.ConstructMarkerFromStream(stream);
CIMPointSymbol pointSymbolFromStream = SymbolFactory.Instance.ConstructPointSymbol(markerFromStream);
//pointSymbolFromStream.SetSize(50);
//create a CIMGraphic
var graphic = new CIMPointGraphic()
{
Symbol = pointSymbolFromStream.MakeSymbolReference(),
Location = MapPointBuilder.CreateMapPoint(coord2D)
};
GraphicElement ptElm = LayoutElementFactory.Instance.CreateGraphicElement(layout, graphic);
ptElm.SetName("New Point");
});
... View more
06-24-2020
04:27 PM
|
1
|
1
|
1341
|
|
POST
|
Just to confirm - To your dependent add-in that inserts controls into the "main" add-in that creates the tab, do you include xml similar to the lines below: <updateModule refID="GeoComMain_Module"> <!--Main add-in that creates the GeoCom tab-->
<groups>
<updateGroup refID="GeoComMain_Group1"> <!--Group on the main add-in to insert controls into-->
<insertButton refID="Geocom2_Button1" /> <!--the button to insert into-->
</updateGroup>
</groups>
</updateModule>
... View more
06-24-2020
09:21 AM
|
1
|
0
|
1277
|
|
POST
|
Hi, ArcGIS Pro SDK supports building stand alone applications using ArcGIS.CoreHost and ArcGIS.Core assemblies. More info on this wiki: ProConcepts: Core Host Thanks Uma
... View more
06-24-2020
08:29 AM
|
0
|
2
|
4200
|
| 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 |
Thursday
|