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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128 | 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."
)
|