I want to use new UI icons in some addons, But actually I get all the Old ones
change the Icons is easy, but this get the Old one
row.operator("view3d.nn", text="Sculpt", icon = "BRUSH_INFLATE")
I thought I was missing something, then I call the template_ID_preview, but this return the Old icon too.
paint = context.tool_settings.sculpt
layout.template_ID_preview(paint, "brush", rows=3, cols=8, hide_buttons=True)
**** update*
Actually I use the icon_value from 0 to 5000 but the result is the same old UI icons
row = layout.row()
icons = bpy.types.UILayout.bl_rna.functions["prop"].parameters["icon"].enum_items.keys()
c=0
while c != 5000:
print(icons[c])
c+=1
row.label(text= str(c), icon_value =c)
if c%10 ==0:
row = layout.row()
row = row.row(align=True)



icon_value =and find their icon id value, rather thanicon =in the call torow.operator– Marty Fouts Feb 01 '22 at 00:59