aws-deadline / deadline-cloud-for-maya

AWS Deadline Cloud for Maya
Apache License 2.0
11 stars 16 forks source link

Custom Output Paths - Possibly saving as a preference #171

Open dmac-cloud opened 2 months ago

dmac-cloud commented 2 months ago

Use Case

Currently when submitting a job in Maya the output path in the submitter defaults to /path/scenes/images/. The issue is that /scenes/ is always auto inserted and it would be great if there is a way to change it so /scenes/ is not included, or able to be changed to something else.

Proposed Solution

Basically change the default as I might forget to update it on submission and when downloading the files from Deadline Cloud Monitor it is always in the /scenes/ folder first and not my chosen specified folder structure. This means that folder standards could become broken as files would be saved in various locations inadvertently

epmog commented 2 months ago

Thanks for filing an issue.

To clarify, we're talking about the output path (directory) and not the filename that's populated in the submitter? For the output path we're querying Maya for what's set up based on the workspace:

https://github.com/aws-deadline/deadline-cloud-for-maya/blob/aab70f1bd45d55ff89db0045e6893218d9c2ee75/src/deadline/maya_submitter/scene.py#L136-L145

As far as I know, this matches where the render would be written if the render were to be done locally through Maya. So if that isn't the location you want, you should be able to change the path in maya to affect the submitter's default values: https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-00A021CC-6540-4644-80E1-B72CC8D5C1F8