Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maya: Workfile Templates implement Run Script Placeholder plug-in #438

Conversation

BigRoy
Copy link
Collaborator

@BigRoy BigRoy commented Apr 19, 2024

Changelog Description

Implement a workfile template placeholder plug-in for maya that can run arbitrary Python scripts at different stages of the workfile template build process.

This allows creating custom logic for a workfile template for which there is no ready to go template plug-in available, but you do want to just force some extra logic to trigger on the workfile build.

Additional info

This PR relies on:

I'll keep this PR as a draft until all of those are merged.

Testing notes:

  1. Create a workfile template with the Run Script placeholder.
  2. The placeholder should be clear to use and do what is described above.
  3. The created template should work.

@ynbot ynbot added type: enhancement Improvement of existing functionality or minor addition host: After Effects host: Maya host: Nuke size/XXL labels Apr 19, 2024
…ncement/maya_template_add_run_script_placeholder

# Conflicts:
#	client/ayon_core/hosts/maya/plugins/workfile_build/script_placeholder.py
…ement/maya_template_add_run_script_placeholder
…ncement/maya_template_add_run_script_placeholder
…ncement/maya_template_add_run_script_placeholder
@BigRoy BigRoy marked this pull request as ready for review May 3, 2024 18:21
@BigRoy BigRoy requested a review from tokejepsen May 7, 2024 10:23
Copy link
Member

@tokejepsen tokejepsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested successfully in Maya 2023.

@antirotor antirotor merged commit 4c19c73 into ynput:develop May 9, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
host: Maya host: Nuke size/XXL type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants