Create new label classes with Arcpy

848
2
10-31-2012 02:28 PM
Status: In Product Plan
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.

2 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