Hi there:
How can create a commandline by taking users value chosen from Qube GUI ..? For example
cmdjob.command = ('"%(executable)s" -t -x %(argv)s -- "%(script)s" %(scriptArgs)s QB_FRAME_START,QB_FRAME_END,QB_FRAME_STEP')
cmdjob.add_optionGroup('Primary parameters')
cmdjob.add_option('rezpackages', 'string', mode = 'open', default = 'nuke nbnuke python-2.5.4',
choices = ['nuke nbnuke python-2.5.4'])
cmdjob.add_option( 'executable', 'file' , 'explicit path to Nuke executable', mode='open', default = 'Nuke6.3',
choices=['Nuke6.3',
'C:/Program Files/Nuke6.3v8/Nuke6.3.exe',
'/Applications/Nuke6.3v8/Nuke6.3v8.app/Contents/MacOS/Nuke6.3',
'/usr/local/Nuke6.3v8/Nuke6.3',
])
commandLine = executables + rezpackages
Thanks much appreciated
/Biju