c4d.documents.BatchRender
¶
The render queue is used for batch rendering. To get the batch render instance, see
GetBatchRender()
c4d.documents.
BatchRender
¶
BatchRender.
Open
(
)
¶
Open the batch render.
Return type: | bool |
---|---|
Returns: | True on success, otherwise False . |
BatchRender.
AddFile
(
File
,
number
)
¶
Add a scene file to the batch render.
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True on success, otherwise False . |
BatchRender.
DelFile
(
File
)
¶
Delete a file from the list.
Return type: | bool |
---|---|
Returns: | True on success, otherwise False . |
BatchRender.
IsRendering
(
)
¶
Check if the batch render is in the render mode.
Return type: | bool |
---|---|
Returns: | True if the batch render is in render mode, otherwise False . |
BatchRender.
GetElementCount
(
)
¶
Return the count how many scenes are in the batch render list.
Return type: | int |
---|---|
Returns: | The count. |
BatchRender.
SetRendering
(
set
)
¶
Start or stop the rendering of the batch render.
Parameters: |
set
(
int
) –
One of the modes:
|
---|
BatchRender.
GetElement
(
n
)
¶
Return the scene path of the element.
Parameters: | n ( int ) – The element. |
---|---|
Raises: |
IndexError
– If the element index
n
is out of range :
0<=n<
GetElementCount()
.
|
Return type: | str |
Returns: | The path. |
BatchRender.
EnableElement
(
n
,
bSet
)
¶
Enable or disable the element for the rendering.
Parameters: |
|
---|---|
Raises: |
IndexError
– If the element index
n
is out of range :
0<=n<
|
BatchRender.
GetEnableElement
(
n
)
¶
Enable or disable the element for the rendering.
Parameters: | n ( int ) – The element. |
---|---|
Raises: |
IndexError
– If the element index
n
is out of range :
0<=n<
GetElementCount()
.
|
Return type: | bool |
Returns: | True when the element is enabled, otherwise False . |
BatchRender.
GetElementStatus
(
n
)
¶
Get the status of the element.
Parameters: | n ( int ) – The element. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Raises: |
IndexError
– If the element index
n
is out of range :
0<=n<
GetElementCount()
.
|
||||||||||||||||
Return type: | int | ||||||||||||||||
Returns: |
The status:
|
BatchRender.
GetJsonJobs
(
)
¶
Get the JSON jobs.
Return type: |
list of
RenderJob
|
---|---|
Returns: | The JSON jobs. |
BatchRender.
GetFrameBitmap
(
nodeUuid
,
frameUuid
)
¶
Private.
BatchRender.
SetUseNet
(
n
,
on
)
¶
Enable or disable the use of NET/Team Render.
Parameters: |
|
---|---|
Raises: |
IndexError
– If the element index
n
is out of range :
0<=n<
|