Bug
Bug ID Number | BUG-000143717 |
---|---|
Submitted | October 15, 2021 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS Pro |
Version found | 2.8.3 |
Operating System | Windows OS |
Operating System Version | 10.0 64 Bit |
Status | Will Not Be Addressed |
Using Python CIM access as below:
aprx.listLayouts()[0]
lyt_cim = lyt.getDefinition("V2")
for item in lyt_cim.elements:
if item.name == "Legend":
for element in item.items:
if element.name == "<layer>":
element.showHeading = False
element.showGroupLayerName = False
element.showLayerName = False
lyt.setDefinition(lyt_cim)
Bug ID: BUG-000143717
Software:
Get help from ArcGIS experts
Download the Esri Support App