Added option does not appear in Monitor Modify Properties

I’m trying to add a new property to a plugin (I’m modifying the MayaCmd plugin).

In the .options file, below the existing LocalRendering option, I added my new option like below:

[code][LocalRendering]
Type=boolean
Label=Enable Local Rendering
Category=Output Image File Options
Index=2
Description=If this option is set to true, the slaves will render locally, and then copy the images to the network output directory on completion.
Required=false
DisableIfBlank=true

[DeleteAllDepthFiles]
Type=boolean
Label=Delete Depth Files
Category=Output Image File Options
Index=3
Description=If this option is set to true, all _depth files will be deleted from the output file path at the completion of each rendering task
Required=false
DisableIfBlank=true[/code]

Then, I added code in MayaSubmission.py to create the UI, and write the option out to the plugin info file like so:

writer.WriteLine( "DeleteAllDepthFiles=%s" % scriptDialog.GetValue ( "DepthFileBox" ) )

Finally, I have code here that reads the value in the plugin via

GetPluginInfoEntryWithDefault("DeleteAllDepthFiles","False")

and does something with it. In general, this works great and helps us with clutter management! However, in Deadline Monitor, when I select the task and look at the Detail tab, this option doesn’t show up. Similarly, when I say “Modify Properties” to and look under the MayaCmd tab it doesn’t show up. While it’s great that added options work, am I missing something to get them to show up in Monitor? It would definitely be good to see these properties there (not so much for this simple one, but for some other properties we’re adding).

Thanks for any ideas,

Leo

As usual, in the course of documenting the bug I figured out my own problem. This option is a boolean which is written out as an int in the plugin info file, so instead of
writer.WriteLine( "DeleteAllDepthFiles=%s" % scriptDialog.GetValue ( "DepthFileBox" ) )
I needed to say
writer.WriteLine( "DeleteAllDepthFiles=%d" % scriptDialog.GetValue ( "DepthFileBox" ) )
and then everything is peachy.