Dear All,
ArcPy and ArcGIS Pro 2.3.2
Was anybody here successfull in setting a list of sorted Item objects based on features count to the ItemGroup (Unique Value Renderer)? Everytime I try it, I receive an error saying that such attribute cannot be set or ArcGIS Pro crashes unexpectedly. According to the docs, the list if items can be changed. ItemGroup—ArcPy | ArcGIS Desktop. Cannot?
I thought something like the snippet below would do the job, but it doesn't:
[0].items = new_list_of_sorted_Item_objectssym.renderer.groups
Any hints?
Thanks!
Adam