POST
|
In a legend of feature layer, I would like to format the subtitle so that it doesn't print the full number, but rounds the category limits to 2 decimal places. I want to implement the format shown in the image not manually, but within a python script. I am using ArcGIS Pro 3.2 version. Maybe with a CIM tool can solve this? So far I haven't found an example script how. aprx = arcpy.mp.ArcGISProject("CURRENT")
m = aprx.listMaps("Map")[0]
lyr5 = m.addDataFromPath(elev)
sym5 = lyr5.symbology
if hasattr(sym5, 'renderer'):
if sym5.renderer.type == 'SimpleRenderer':
sym5.updateRenderer("GraduatedColorsRenderer")
sym5.renderer.classificationField = "Elevation"
sym5.renderer.colorRamp = aprx.listColorRamps("Elevation #3")[0]
sym5.renderer.breakCount = 10
lyr5.symbology = sym5
... View more
02-29-2024
11:47 AM
|
0
|
0
|
198
|
POST
|
Hi Jeff, Is it already possible to do this with python in PRO 3.2?
... View more
02-23-2024
12:46 PM
|
0
|
1
|
158
|
POST
|
I' d like to bulid a modell using a list variable. My modell works well until Field calculation, where I'd like to use Get Field value option for calculation. The number of input is differ in every running. Now I used 3 inputs, and Statistics works well the values of "Value_%i%" is perfect. But I can not know how define the values into VB or Python Expression? Could you help me? The picture is enclosed. Thank you!!! Tünde
... View more
03-19-2019
10:10 AM
|
0
|
1
|
646
|
Online Status |
Offline
|
Date Last Visited |
02-29-2024
08:12 PM
|