AWS Thinkbox Discussion Forums

ScriptControl API in Deadline 10?

Hello!

I’m just getting started with Deadline, and I’m working on customising the submitter for Clarisse. In the ClarisseSubmission dialog, it uses a bunch of methods such as “AddControlToGrid”, “AddComboControlToGrid”, etc. and they all work fine.

However, I don’t see these methods in the API docs for DeadlineScriptDialog in 10.0.28.2. They show up if I look at the API from around version 7. Are these still supported, or can I find the API docs elsewhere?

Thanks!

Not exactly a documentation , but you might want to look at “//YourRepo/scripts/General/ScriptUIExample.py”.

Have a look at these URLs:

https://docs.thinkboxsoftware.com/products/deadline/10.0/2_Scripting%20Reference/class_deadline_script_dialog_1_1_deadline_script_dialog.html#ac583aa0fdf19d85a45c98307fec32033

https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/monitor-scripts.html#grid-layout-example-script

Hey Mike!

Those are what I’ve been looking at. In the docs, the only members listed are AddControl, closeEvent, and EnabledStickySaving, but that example is using a bunch of others (SetTitle, AddGrid, AddControlToGrid, etc.)

deadline_docs_01

The examples are useful to sorta figure it out, but a proper description of the methods and their arguments would be very useful. The parent class ScriptDialog docs also don’t have those methods listed. Perhaps these are part of ThinkboxDialog or ScriptControl? Those are inherited by ScriptDialog, but I haven’t been able to find docs on those.

Thanks!

Understood. Quickest thing to get up to speed is to have a look at other scripts we ship as well as the ExampleUI py script. You can also just use PyQt5 natively if you prefer:

Will do, thanks Mike! Great that they’re both supported.

Privacy | Site terms | Cookie preferences