Stores the name of the Python module, executable and extra arguments needed for the script that work items in a node use when cooking.
Methods ¶
command
: str
Property
If this isStandardScript
is True
, this property returns the command that will be automatically assigned to work items produced by the node.
extraArgs
: str
Property
Extra arguments that are passed to the job script
isMainThread
: bool
Property
Returns True
if the node creates work items that have to run on the main thread when they run in-process.
isNative
: bool
Property
Returns True
if the work items in the node need to be loaded as native pdg.WorkItem objects when the work item cooks out of process, instead of using the out of process stub API. This options is only possible if the job script is run using Houdini itself, i.e. using hython
.
isStandardScript
: bool
Property
Returns True
if the node uses the standard job script format.
moduleName
: str
Property
The name of the Python module used to cook work items. Out of process work items are cooked by runnig {pythonExecutable} {moduleName}.py {extra_args}
, and in process work items are cooked by calling {module_name}.cook({work_item})
.
pythonExecutable
: str
Property
The Python exectuable to use when running the script out of process, e.g. __PDG_PYTHON__
or __PDG_HYTHON__
.
serviceTypeNames
: list
of str
Property
The list of service type names that are compatible with the job script.