Add the ability to create a new label class to arcpy labelClass. Changing label classes is nice but creating new ones is needed.
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.
This will be available with Pro 3.3.
Layer.createLabelClass(name, expression, {sql_query}, {labelclass_language})
Jeff - arcpy.mp and Layout SDK teams
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.