Select to view content in your preferred language

Create new label classes with Arcpy

956
3
10-31-2012 02:28 PM
Status: Implemented
Labels (1)
GusMartinka
Occasional Contributor

Add the ability to create a new label class to arcpy labelClass. Changing label classes is nice but creating new ones is needed.

3 Comments
ColinLang1

All they need to do is make sure arcpy.mapping.labelClasses can use the append() method for lists, and it's problem solved.  They had to have specifically removed this ability, as a list structure has it by default, so it's just a matter of removing the code that removed the ability.  I don't know why they ever took that out.  It's just not logical.

JeffBarrette
Status changed to: In Product Plan

This will be available with Pro 3.3.

Layer.createLabelClass(name, expression, {sql_query}, {labelclass_language})

 

Jeff - arcpy.mp and Layout SDK teams

KoryKramer
Status changed to: Implemented

This is implemented in ArcGIS Pro 3.3. See Your Ideas in ArcGIS Pro 3.3 for a full list of all user ideas you can look forward to! And be sure to check out the release blog and what’s new help topic and video to learn more about all the new features and functionality in the release.