POST
|
Those are references for the ArcObjects SDK. Did you mean to put this question in that forum? https://community.esri.com/community/developers/gis-developers/arcobjects-sdk However, you should be able to add them to your project by right clicking References > Add Reference... Then select Assemblies > Extensions on the left. Scroll down and check the boxes for the ESRI.ArcGIS references you need. Also in case you wanted to know, the ArcGIS Runtime references are: Esri.ArcGISRuntime Esri.ArcGISRuntime.LocalServices
... View more
05-24-2019
03:38 PM
|
1
|
1
|
2388
|
POST
|
Ken is correct, use either of the following commands within the Python Command Prompt to upgrade the arcgis module to 1.6.1: conda install arcgis --no-pin conda upgrade arcgis --no-pin Dan is also correct that you do not need to create a cloned environment IF you have administrative privileges on the computer. Many of our users do not have administrative privileges so we recommend creating the cloned environment that they will have access to manage. We also recommend creating the cloned environment so that the default does not become corrupted. However if you do want to update the default arcgispro-py3 environment, run the Python Command Prompt as Administrator and run one of the above commands.
... View more
05-24-2019
02:26 PM
|
1
|
0
|
737
|
POST
|
The following works for me to create the list of users that need to be deleted from a csv of their usernames in the first column.
with open(csvPath) as f_input:
csv_input = csv.reader(f_input, delimiter=",")
for row in csv_input:
users = gis.users.search("username:{}".format(row[0]))
if (len(users)>0): # only append if there are search results
userDelete.append(users[0])
... View more
05-23-2019
04:08 PM
|
1
|
1
|
1255
|
POST
|
Hi Kirk, I sent you an email but here are the details for the bug in case you missed it: BUG-000122510: In the ArcGIS Runtime SDK, selecting features on a feature layer using featureLayer.SelectFeaturesAsync() uses the geometry of the polygon extent rather than the geometry of the polygon itself when querying from an event listener. You should now be able to track it from the Support > Bugs tab from your organization's My Esri page. Cheers, Kim
... View more
05-21-2019
11:42 AM
|
1
|
0
|
972
|
POST
|
I was able to reproduce this issue from GeoViewTapped Event Listener with specific points. The funny thing is if you run the same exact code where its not in an Event Listener/Button it will select the features just fine within the triangle. Outside button/event listener: Inside button/event listener: I have also seen some sporadic behavior on this where if you click while zoomed in partly over this triangle it will again select correctly. You likely won't see that sporadic behavior when using the MapView's extent to create the triangle. I will get started on logging a bug for this issue. If you let me know your customer number I can create a case and attach your organization to it so it will be trackable in My Esri.
... View more
05-17-2019
03:55 PM
|
0
|
2
|
972
|
POST
|
Maximilian Glas, I was able to reproduce the issue and have logged the following bug for you. BUG-000122291: Using the ArcGIS Runtime SDK, the SceneView hangs up on the surface of 3D objects when trying to zoom in through them using the mouse/scroll wheel. If you let me know your customer number I can have a case opened for you so we can attach your organization to the bug so that you can track it in My Esri.
... View more
05-09-2019
03:33 PM
|
2
|
1
|
973
|
POST
|
I am not aware of any way in the ArcGIS Runtime SDK to actually drag a PictureMarkerSymbol across the MapView. However you can get close to the visual effect of dragging the graphic by having the graphic's location be attached to a MouseMove event so it is constantly moving the graphic with the mouse. This can be a bit choppy when the mouse is moved quickly. I've attached a sample using this workflow. The PictureMarkerSymbols are located in a StackPanel as buttons. When you click a button it will create a graphic of the same image which will follow the mouse as it moves across the MapView. The StackPanel will also report on the current latitude/longitude of the mouse. Clicking on the MapView will place the graphic permanently at that spot in a separate graphics overlay.
... View more
02-22-2019
03:21 PM
|
2
|
0
|
1008
|
POST
|
Hi Krishna, We have done some testing and determined that there is a bug in the ArcGIS Pro geoprocessing tool, Package Map. When selecting the option, "Reference all data for Runtime", the tool does not create the .msd file in the .mpkx. If the box is left unchecked, the .msd file will be created in the .mpkx but the data will be copied to it. We have logged the following bug on this issue: BUG-000120203: Map Package tool in ArcGIS Pro fails to package .msd file despite enabling "Support ArcGIS Runtime" and "Reference all Data for Runtime" in parameters. I spoke with the analyst working on your case and I believe she attached your case to the bug. Let me know if you have any questions. - Kim
... View more
02-20-2019
04:08 PM
|
0
|
4
|
4219
|
POST
|
Using the same workflow, will a map package referencing data in a file geodatabase load into Local Server? What about if you include the data in the map package rather than reference it? What version of ArcGIS Pro was the map package created with? What version of the ArcGIS Runtime SDK and Local Server are you using?
... View more
02-15-2019
11:47 AM
|
0
|
6
|
4219
|
POST
|
When you created the map package did you check the box for the map package to Support ArcGIS Runtime?
... View more
02-14-2019
03:09 PM
|
0
|
8
|
4219
|
POST
|
I was able to reproduce starting the Local Server with the provided sample, but only when referencing the packages from Nuget and setting all the parameters to false. If the packages downloaded, then I would still receive the error for the GP Service not starting. Presumably Nuget is downloading the 100.3.0.0 version of Local Server while it references the 100.3.0.1 version. How are you loading in the SDK? Are you downloading them from Nuget, or referencing them?
... View more
10-29-2018
10:49 AM
|
1
|
2
|
1151
|
POST
|
I just wanted to let you know that we are still looking into this.
... View more
10-17-2018
09:30 AM
|
0
|
0
|
1151
|
POST
|
I didn't see any files in the zip folder at all. It's okay though, I've got a sample set up and am troubleshooting why we cannot start the geoprocessing service using ArcGIS Runtime 100.3. What exactly is your error message?
... View more
10-09-2018
01:27 PM
|
0
|
0
|
2367
|
POST
|
I unzipped your attached folder but found no project contained within it. What version of the ArcGIS Runtime SDK and Local Server are you using? Have you enabled Geoprocessing in the .AGSDeployment file that gets created after compiling your project? I have a sample that uses Local Server 100.2.1 and it appears to work. However this same sample is failing when using Local Server 100.3. I will look into this issue further.
... View more
10-08-2018
04:37 PM
|
1
|
2
|
2367
|
POST
|
The arcpy.SetParameterAsText method takes two arguments, a number and a string. - The number specifies the derived parameter position in the Script Tool parameter list (zero based index). - The second argument is a string representing the name of the output (i.e. file location). Use this method display derived outputs and to set the specified parameter by index using a string value. The python file for a script tool might look like either of these examples when buffering points and using SetParameterAsText to define the output. Derived output as the only parameter example: import arcpy arcpy.env.overwriteOutput = True fileToBuffer = "C:/temp/points.shp" distance = "2 miles" outputFile = "C:/temp/pointsBuffer.shp" arcpy.Buffer_analysis(fileToBuffer, outputFile, distance) arcpy.SetParameterAsText(0, outputFile) Multiple parameters example with user defined input: import arcpy, os arcpy.env.overWriteOutput = True fileToBuffer = arcpy.GetParameterAsText(0) distance = arcpy.GetParameterAsText(1) arcpy.env.workspace = os.path.dirname(fileToBuffer) outputFile = "C:/temp/pBuffer.shp" arcpy.Buffer_analysis(fileToBuffer, outputFile, distance) arcpy.SetParameterAsText(2, outputFile) For both of these examples you would need to navigate to the Parameters tab in the Tool Properties. The index for the SetParameterAsText method would be the index used for the output parameter in the list. It would also need to be of Derived type which automatically set the Direction as Output. This can be useful when running a model where one tool uses for input the derived output of another tool.
... View more
07-16-2018
04:30 PM
|
2
|
1
|
2424
|
Title | Kudos | Posted |
---|---|---|
1 | 05-24-2019 02:26 PM | |
2 | 07-16-2018 04:30 PM | |
1 | 05-24-2019 03:38 PM | |
1 | 10-08-2018 04:37 PM | |
1 | 10-29-2018 10:49 AM |
Online Status |
Offline
|
Date Last Visited |
05-28-2024
07:36 PM
|