Bases: BaseSettingsModel
Set ROP Output Directory on Create
When enabled, this setting defines output paths for ROP nodes, which can be overridden by custom staging directories. Disable it to completely turn off setting default values and custom staging directories defined in ayon+settings://core/tools/publish/custom_staging_dir_profiles.
Source code in server/settings/create.py
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177 | class ROPOutputDirModel(BaseSettingsModel):
"""Set ROP Output Directory on Create
When enabled, this setting defines output paths for ROP nodes,
which can be overridden by custom staging directories.
Disable it to completely turn off setting default values and
custom staging directories defined in
**ayon+settings://core/tools/publish/custom_staging_dir_profiles**.
"""
enabled: bool = SettingsField(title="Enabled")
expand_vars: bool = SettingsField(
title="Expand Houdini Variables",
description="When enabled, Houdini variables (e.g., `$HIP`) "
"will be expanded, but Houdini expressions "
r"(e.g., \`chs('AYON_productName')\`) will remain "
"unexpanded in the `Default Output Directory`."
)
default_output_dir: str = SettingsField(
title="Default Output Directory",
description="This is the initial output directory for newly created "
"AYON ROPs. It serves as a starting point when a new ROP "
"is generated using the AYON creator. Artists can modify "
"this directory after the ROP is created.\n\n"
"It supports Houdini vars (e.g., `$HIP`) and expressions "
"(e.g., `chs('AYON_productName')`)\n"
"Note: Houdini Expressions are expanded for HDA products."
)
|