Hi guys!
I wanna re-run validation inside my publish script in Maya. Basically, if condition is met first validation fail, windows popup, user can click button then after that scrypt should rerun validation.
Here’se what I did as of now:
engine = sgtk.platform.current_engine()
sg = engine.shotgun
tk = engine.sgtk
and then from inside the button method i run:
cmd = tk.get_command(“validate”)
cmd.execute()
But the execute function needs some parameters, and I’m not sure exactly what parameters I should feed here.
Thanks!