Render queue item
RenderQueueItem
¶
The RenderQueueItem object represents an individual item in the render
queue. It provides access to the specific settings for an item to be
rendered.
Example
See: https://ae-scripting.docsforadobe.dev/renderqueue/renderqueueitem/
Attributes¶
comment
¶
comment: str
A comment that describes the render queue item. This shows in the Render Queue panel. Read / Write.
elapsed_seconds
¶
elapsed_seconds = ChunkField[int](
"_ldat", "elapsed_seconds", read_only=True
)
The number of seconds that have elapsed in rendering this item. Read-only.
log_type
¶
log_type = enum(LogType, '_ldat', 'log_type')
A log type for this item, indicating which events should be logged while this item is being rendered. Read / Write.
name
¶
name = ChunkField[str]('_ldat', 'template_name')
The name of the render settings template used for this item. Read / Write.
num_output_modules
¶
num_output_modules: int
Return the number of output modules for this render queue item. Read-only.
Note
Equivalent to len(item.output_modules)
output_modules
¶
output_modules: list[OutputModule]
The list of Output Modules for the item. Read-only.
queue_item_notify
¶
When True, a user notification is enabled for this render queue
item, signaling the user upon render completion. Read / Write.
render
¶
render: bool
When True, the item will be rendered when the render queue is
started. Read / Write.
settings
¶
skip_frames
¶
skip_frames: int
The number of frames to skip when rendering this item. Use this to do rendering tests that are faster than a full render. A value of 0 skip no frames, and results in regular rendering of all frames. A value of 1 skips every other frame. This is equivalent to "rendering on twos." Higher values skip a larger number of frames. The total length of time remains unchanged. For example, if skip has a value of 1, a sequence output would have half the number of frames and in movie output, each frame would be double the duration.
Read / Write.
start_time
¶
start_time: ChunkField[datetime | None] = ChunkField(
"_ldat",
"start_time",
transform=_start_time_from_binary,
read_only=True,
)
The date and time when rendering of this item started, or None if
the item has not started rendering. Read-only.
status
¶
status = enum(
RQItemStatus,
"_ldat",
"status",
post_set="_on_status_changed",
)
The current render status of the item. Read / Write.
time_span_duration
¶
time_span_duration: float
The duration in seconds of the composition to be rendered. The duration is determined by subtracting the start time from the end time. Read / Write.
Setting this switches the time span source to CUSTOM.
time_span_duration_frames
¶
time_span_duration_frames: int
The duration in frames of the composition to be rendered. The duration is determined by subtracting the start time from the end time. Read / Write.
Setting this switches the time span source to CUSTOM.
time_span_end
¶
time_span_end: float
The time in the composition, in seconds, at which rendering will end. Read / Write.
Setting this adjusts the duration, keeping the start unchanged, and switches the time span source to CUSTOM.
time_span_end_frame
¶
time_span_end_frame: int
The time in the composition, in frames, at which rendering will end. Read / Write.
Setting this adjusts the duration in frames, keeping the start unchanged, and switches the time span source to CUSTOM.
time_span_start
¶
time_span_start: float
The time in the composition, in seconds, at which rendering will begin. Read / Write.
Setting this switches the time span source to CUSTOM.
time_span_start_frame
¶
time_span_start_frame: int
The time in the composition, in frames, at which rendering will begin. Read / Write.
Setting this switches the time span source to CUSTOM.
Functions¶
get_setting
¶
get_setting(
key: str, format: GetSettingsFormat = STRING
) -> Any
Return a single render setting in the specified format.
Parameters:
-
key(str) –The setting key (e.g.
"Quality","Frame Rate"). -
format(GetSettingsFormat, default:STRING) –The output format.
get_settings
¶
get_settings(
format: GetSettingsFormat = STRING,
) -> dict[str, Any]
Return render settings in the specified format.
Parameters:
-
format(GetSettingsFormat, default:STRING) –The output format.
GetSettingsFormat.NUMBERreturns numeric values (enums unwrapped to ints).GetSettingsFormat.STRINGreturns all values as strings
set_setting
¶
Set a single render setting.
Accepts enum members, int values, or string labels.
Parameters:
Raises:
-
KeyError–If the key is unknown.
-
AttributeError–If the key is read-only.
-
ValueError–If the value cannot be coerced to the expected type.
set_settings
¶
Set multiple render settings at once.
Accepts enum members, int values, or string labels.
Parameters:
Raises:
-
KeyError–If any key is unknown.
-
AttributeError–If any key is read-only.
-
ValueError–If any value cannot be coerced.