AWS Thinkbox Discussion Forums

C4D Submitter: .c4d extension is include with $prj token

Hi
When using the $prj token in Cinema, the c4d submitter includes the “.c4d” extension in OutputFilename0.

  • Submit with this token: $prj (project is test-path.c4d)

Gives this outputpath: test-path.c4d_####.jpg
But cinema outputs: test-path_0000.jpg when rendering.

This makes the outputpaths stored by DL invalid when submitting Draft jobs from jobs or using “Explore Output”

Quickfix:

#Change line 1640 in the "/YOURREPO/submission/Cinema4D/Main/SubmitC4DToDeadline.py" from:
'prj': doc.GetDocumentName(),
#To
'prj': doc.GetDocumentName()[:-4],

Cheers
Bonsak
DL 7.2.0.18R osx

Thanks Bonsak! We will fix the token! Thanks for the code snippet!

Privacy | Site terms | Cookie preferences