Skip to content

Add create first version and keep placeholders settings to Templated Workfile Build #301

Closed
BigRoy wants to merge 1 commit into
ynput:developfrom
BigRoy:enhancement/maya_template_workfile_build_settings_create_first_version
Closed

Add create first version and keep placeholders settings to Templated Workfile Build #301
BigRoy wants to merge 1 commit into
ynput:developfrom
BigRoy:enhancement/maya_template_workfile_build_settings_create_first_version

Conversation

@BigRoy

@BigRoy BigRoy commented Jun 24, 2025

Copy link
Copy Markdown
Member

Changelog Description

Add create first version and keep placeholders settings to Templated Workfile Build settings in Maya, to match e.g. ayon-nuke and other integrations

Additional review information

Came up here: https://discord.com/channels/517362899170230292/563751989075378201/1387011018206609498

Testing notes:

  1. The added "create first version" and "keep placeholders" templated workfile build settings should work.

@BigRoy BigRoy self-assigned this Jun 24, 2025
@BigRoy BigRoy added type: enhancement Improvement of existing functionality or minor addition community Issues and PRs coming from the community members labels Jun 24, 2025
@tweak-wtf

Copy link
Copy Markdown

just gave this a spin but it doesn't seem to work just yet.
the server settings now shows Create First Version defaulting to true and Keep Placeholders defaulting to False.
However, the first workfile version isn't being built.

it might be misconfiguration on my side tho as i'm a bit confused about the 2 settings categories for the template builder

  • ayon+settings://maya/workfile_build
  • ayon+settings://maya/templated_workfile_build
    manually executing Build Workfile from Template works

also it seems different DCCs have slightly different settings available for templating.

@BigRoy

BigRoy commented Jun 24, 2025

Copy link
Copy Markdown
Member Author

Interesting, because pretty sure it should work due to the logic here that is essentially taking it from the settings value.

Did you correctly upload the package and are launching in that bundle (including having that packaged addon version in that bundle) version in Launcher?

  • ayon+settings://maya/workfile_build
  • ayon+settings://maya/templated_workfile_build
    manually executing Build Workfile from Template works

@MustafaJafar weren't you just recently working on docs or something that discussed the differences here?

also it seems different DCCs have slightly different settings available for templating.

It should now match closely with Houdini, Nuke, After Effects, Silhouette.

@BigRoy

BigRoy commented Jun 24, 2025

Copy link
Copy Markdown
Member Author

Ah I see now - we're actually not triggering the build workfile template logic AT ALL in Maya on new scene or on launch. Hence, not even the default logic applies.

@tweak-wtf

Copy link
Copy Markdown

Ah I see now - we're actually not triggering the build workfile template logic AT ALL in Maya on new scene or on launch. Hence, not even the default logic applies.

yes, exactly my findings.
was reading through this commit here
ynput/ayon-houdini@65db6d3

@BigRoy

BigRoy commented Jun 24, 2025

Copy link
Copy Markdown
Member Author

Hmm - yes, seems more likely that'd need to be added. Feel free to branch off this minor branch and fix it. Not something I'm looking into nor have the time for currently.

@MustafaJafar

MustafaJafar commented Jun 24, 2025

Copy link
Copy Markdown
Member

it might be misconfiguration on my side tho as i'm a bit confused about the 2 settings categories for the template builder

  • ayon+settings://maya/workfile_build
  • ayon+settings://maya/templated_workfile_build
    manually executing Build Workfile from Template works

@MustafaJafar weren't you just recently working on docs or something that discussed the differences here?

The difference is outlined on docs.

For reference, This information is based on my search-fu skills through code and descriptions of different PRs. and feel free to correct me if I'm wrong.

@BigRoy

BigRoy commented Jun 25, 2025

Copy link
Copy Markdown
Member Author

Closing in favor of #307

@BigRoy BigRoy closed this Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Issues and PRs coming from the community members type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants