I’ve made an addon which has a custom UI for modifiers and I’d like to show the same warnings in the custom layout as are shown in the regular one.
Some warnings I can, more or less, implement myself going through the source code and writing the warning checks in Python. However, for example, the warning shown in the image is impossible(?) to achieve because I would need to know the vertex count after the Subdivision Surface modifier which I don’t think is possible.
Any suggestions? I assume this is not possible but it doesn’t hurt to ask…