So I can raise a custom error with raise from my Extension and it will show the big red X on my component.
Is it possible to generate a warning resulting in the yellow triangle on my comp?
I’ve tried to use warnings.warn function, but it did not result in anything really.
Currently you can only add warnings to operators during their cook (e.g. in a script OP’s onCook callback). Do this with the OP.addWarning function. They are also tricky to remove.
I generally just add errors, which you can do without raising an exception using the OP.addScriptError/OP.clearScriptErrors combo.