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

Update Asset field of creator Instances in Maya Template Builder #4470

Conversation

mre7a
Copy link
Contributor

@mre7a mre7a commented Feb 15, 2023

Brief description

When we build a template with Maya Template Builder, it will update the asset field of the sets (creator instances) that are imported from the template.

Description

When building a template, we also want to define the publishable content in advance: create an instance of a model, or look, etc., to speed up the workflow and reduce the number of questions we are asked. After building a work file from a saved template that contains pre-created instances, the template builder should update the asset field to the current asset.

Additional info

As an aside, for some instances that contain CbId, I didn't know if we should update the ID or not.

Testing notes:

  1. Create a template base on the documentation.
  2. Make sure that your template contains a creator instance.
  3. In a new asset, build workfile from template.
  4. You should see that asset field is updated to the current one.

image

mre7a and others added 2 commits February 16, 2023 10:43
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Copy link
Member

@antirotor antirotor left a comment

Choose a reason for hiding this comment

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

It works for me!

@antirotor antirotor merged commit 7ba5440 into ynput:develop Feb 16, 2023
@ynbot ynbot added this to the next-patch milestone Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants