POST
|
Thank you DanPatterson for your message, Those suggestions are helpful. But in our case we have a geoprocessing module distributed via Anaconda and installed in ArcGIS Pro default environment. The user who installed the package can see the toolbox in Pro Geoprocessing Tools other users can not.
... View more
06-15-2023
03:27 AM
|
0
|
0
|
502
|
POST
|
We have a Python toolbox (distributed via Anaconda) installed (using conda install command) by Administrator in the ArcGIS Pro default conda environment C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages. This Python toolbox is available for Administrator in Pro Geoprocessing tools window, but other users can not see the toolbox. We checked the file properties of the python files inside the installed package folder and noticed that files have no inheritance enabled on them. Is there anyway to enable inheritance (with conda install) and make toolbox available to other users. Thanks, Surendra
... View more
06-15-2023
03:01 AM
|
0
|
3
|
520
|
POST
|
Hi GintautasKmieliauskas, Thank you for your message. Now I able to read the active ( cloned) environment from the Registry key HKEY_CURRENT_USER.
... View more
11-04-2022
08:24 AM
|
0
|
0
|
373
|
POST
|
I am working on custom Add In in ArcGIS Pro 3.0 using ArcGIS Pro 3.0 SDK for .NET, for this I need to check if the file exists in the site-packages folder in my active (cloned) environment. Please let me know how to find the path of the active environment in C#.Net. Thanks.
... View more
11-03-2022
04:08 PM
|
0
|
2
|
408
|
POST
|
Thanks Dan for you reply and sharing the link. I have the same issue and checked info/recipe/meta.yaml file, it is fully populated, I have a description / summary entry for my package, Do I need to send this information to someone who can you add it to metadata,json to include in a later Pro release? if yes, please share me contact details. Do I need to update conda root environment? if yes, please provide the instructions how to update conda environment. btw, my package name is not listed in the C:\Your_Pro_Install_folder\bin\Python\pkg-metadata\etadata.json file. Thanks.
... View more
02-12-2021
10:15 AM
|
0
|
0
|
953
|
POST
|
I have a custom conda package with all the metadata fields (version, summary, description...). The package is installed successfully on the system, I can see my package name in the Installed Packages and also version info. But Homepage link is not working, License and Description data is not available. Please let me know how to populate these metadata fields.
... View more
02-11-2021
01:20 PM
|
0
|
3
|
997
|
POST
|
I am working on a tool in Python toolbox, it has two parameters. If I run this tool from toolbox, it is working fine. If I add this tool to model builder and run the model, it not working as expected. Problem is that if I update Input Value 1, then Input Value 2 is updated as expected. But if I update Input Value 2, then the value of Input Value 1 is not updated as expected. Here is the code: # -*- coding: utf-8 -*- import arcpy class Toolbox(object): def __init__(self): """Define the toolbox (the name of the toolbox is the name of the .pyt file).""" self.label = "Toolbox" self.alias = "" # List of tool classes associated with this toolbox self.tools = [Tool] class Tool(object): def __init__(self): """Define the tool (tool name is the name of the class).""" self.label = "Tool" self.description = "" self.canRunInBackground = False def getParameterInfo(self): """Define parameter definitions""" params = [] param1 = arcpy.Parameter( displayName="Input Value 1", name="param1", datatype="GPDouble", parameterType="Required", direction="Input") param1.value = 1.0 param2 = arcpy.Parameter( displayName="Input Value 2", name="param2", datatype="GPDouble", parameterType="Optional", direction="Input") params = [param1, param2] return params def isLicensed(self): """Set whether tool is licensed to execute.""" return True def updateParameters(self, parameters): """Modify the values and properties of parameters before internal validation is performed. This method is called whenever a parameter has been changed.""" if (parameters[0].altered and not parameters[0].hasBeenValidated): parameters[1].value = parameters[0].value * 4 if (parameters[1].altered and not parameters[1].hasBeenValidated): parameters[0].value = parameters[1].value / 4 return def updateMessages(self, parameters): """Modify the messages created by internal validation for each tool parameter. This method is called after internal validation.""" return def execute(self, parameters, messages): """The source code of the tool.""" return Please help me to fix this issue.
... View more
08-20-2020
11:34 AM
|
0
|
0
|
1017
|
POST
|
Thank you Rickey for your reply. Actually I am working on Python toolbox tool. Here are the steps I followed: 1. Created Python toolbox in ArcGIS Pro. ie, Toolboxes -> New Python Toolbox 2 Added one tool to the toolbox 3. Open the tool and tried to open help for this tool. When I click on the help icon shown in the image, it opens from the xml file from the toolbox location. But I want to open the help file from the website (as ESRI system tool help). Can anyone guide me how to link html file to help icon on the geoprocessing tool interface. Thanks.
... View more
03-27-2020
04:47 PM
|
0
|
0
|
1914
|
POST
|
I am trying to add html file link to the custom geoprocessing tool developed using Python, I could not find the documentation on how to link external html help file to tool in ArcGIS Pro.
... View more
03-27-2020
02:45 PM
|
0
|
4
|
2007
|
Online Status |
Offline
|
Date Last Visited |
03-15-2024
12:53 AM
|