Deadline – Setting plugin paths to the executables

Software:
Deadline Monitor 10.0

When installing a render/processing software in a different path than default, you may have to configure its Deadline Plugin executable path to Deadline will be able to find it.

To setup the executable path for a Deadline Plugin:

  1. Make sure you are using the Deadline Monitor in Super User Mode:
    image
  2. Go to Tools > Configure Plugins:
    image (1)
  3. In the plugin list on the left, select the plugin you want to configure,
    And in the Plugin Executable text box (in this case Blender), type in a new path, or click the browse button to set the path.
    * Multiple alternative paths can be set separated by lines.image (2)

 

 

 

Advertisements

Python – Listing the files in a directory

Language:
Python 2.7

The following example uses functions from the os library to list the files in a given directory:

from os import listdir
from os.path import isfile, join
dir = "D:\\"
files = [f for f in listdir(dir) if isfile(join(dir, f))]
for f in files:
	print join(dir, f)

In the next example the script has been modified to list only files with the name extension ‘jpg’:

from os import listdir
from os.path import isfile, join
dir = "D:\\"
files = [f for f in listdir(dir) if isfile(join(dir, f)) and f[-3:]=='jpg']
for f in files:
	print join(dir, f)

 

* note that when copying and pasting a script from this example, the indentation may not be pasted correctly.