All Questions
Tagged with group-layer arcgis-pro
13 questions
2
votes
1
answer
208
views
How to move a layer to a group using Python code in ArcGIS Pro?
I am trying to move a layer to a group using python code. Both the layer and the group are in the current/same map in ArcGIS Pro.
I have the following code (the layer to be moved to the group "...
4
votes
1
answer
464
views
Move an existing layer into a group layer using ArcPy in ArcGIS Pro
I have a map object and I am trying to move an existing layer from that map object into a newly created group layer in the same map object.
aprx = arcpy.mp.ArcGISProject("Current")
mp = aprx....
1
vote
1
answer
254
views
How to programmatically access Trace network layer results when using NETWORK_LAYERS result type in a stand-alone Python script?
I have a stand-alone Python script that runs a Connected Trace on a Trace Network. This is a re-write of an existing script that runs a trace on a Geometric Network. The script will be published as ...
1
vote
0
answers
104
views
C# - Add GroupLayer to Active Map (ArcGIS Pro)
I'm trying to add a groupLayer to active map using C# and ArcGIS Pro. Devloping a plugin.
This is my sample code or what I've tried so far:
Esri.ArcGISRuntime.Mapping.Map myMap = new Esri....
3
votes
1
answer
351
views
Renaming group layer using ArcPy with ArcGIS Pro
How do I rename a group layer in ArcGIS Pro using ArcPy?
In ArcMap I can do so thus:
groupLayer = arcpy.mapping.Layer(r"Path to grouplayer.lyr")# empty group layer as template
groupLayer....
1
vote
2
answers
731
views
Layer to KML using ArcGIS Pro doesn't show all points [closed]
I'm using ArcGIS Pro, and I am trying to convert a group of layer (both points) to KML. When I make the KML and open it it doesn't show all the points!
2
votes
2
answers
2k
views
Iterating over features within Group Layer that will be identified with Wildcard using ModelBuilder of ArcGIS Pro
In the ModelBuilder of ArcGIS Pro 2.8.1, using Iterate Layers, I want to iterate over features that are in a group layer. It seems like I should be able to identify this group layer by using a ...
2
votes
1
answer
1k
views
Identifying layers by grouping using ArcPy
I have a number of layers that I want to manipulate with ArcPy. On my ArcGIS Pro map I have them under a group layer.
To deal with them, I have been picking them by name as follows:
for theLayer in ...
0
votes
1
answer
2k
views
Group layer to shapefile
I am using ArcGIS Pro and I have grouped a number of similar layers together creating a 'group layer'. Is it possible to export the group layer as a shapefile or can I only do this with each of the ...
0
votes
1
answer
650
views
Adding multiple feature classes (all within file geodatabase) to group layer using ArcPy with ArcGIS Pro
I am currently trying to add all the feature classes contained within a gdb to a group layer in ArcGIS Pro via a script. I have however not managed to add more than one single feature class at a time.
...
3
votes
1
answer
1k
views
Error in ArcGIS Pro when Adding Layer to Group through ArcPy
I'm trying to add layers to an empty group layer through arcpy in ArcGIS Pro. I've read that creating empty group layers only works by importing a saved template. I'm able to load my template and it ...
2
votes
1
answer
1k
views
Apply a definition query to a Layer Group
I'm trying to apply a definition query to multiple layers within a Layer Group by using the following script where I would simply change the values for my 'SUBCODE' field:
import arcpy
#Variables to ...
1
vote
2
answers
214
views
Iterate Feature Selection Error -Export grouped features
I am trying to group values inside my shapefile using Iterate Feature Selection and then Copy selected feature to new shapefile.
I don't know why but my copy features don't allow me to using %Value% ...