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

Add option to keep placeholders for maya templates #226

Open
1 task done
Phantom138 opened this issue Jan 29, 2025 · 0 comments
Open
1 task done

Add option to keep placeholders for maya templates #226

Phantom138 opened this issue Jan 29, 2025 · 0 comments

Comments

@Phantom138
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Please describe the feature you have in mind and explain what the current shortcomings are?

Add an option to keep placeholders for maya workfile templates.
If turned off, it would delete all of the placeholders after importing the files.

This seems to be already implemented for nuke templates:
Image

Suggested implementation?

No response

Describe alternatives you've considered:

Current workaround i could find:
Creating a script placeholder and running this after build:

from maya import cmds
# Placeholders to delete
del_nodes = ["Context_model_folder"]

for node in del_nodes:
	cmds.delete(node)
	
# Delete script placeholder
cmds.delete(placeholder.scene_identifier)

Not the most ideal, requires manual input of the placeholders that have to be deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant