Hello @ferdinand
Thanks a lot for the code above, I really appreciate your help.
I changed a few things for match what I was looking for and now it's working perfectly. Thanks again!
Hello @ferdinand
Thanks a lot for the code above, I really appreciate your help.
I changed a few things for match what I was looking for and now it's working perfectly. Thanks again!
- ...The idea is simple, clean out any existing jobs, add your job, get the output path of the job, start its rendering, wait for it to be finished, modify the file names to your liking.
Hello @ferdinand, Thank you for your detailed answer, I appreciate it!
I am not an expert python dev, I just started like a month ago. I know how to clean, add, get output path and start rendering, however for the '' wait for it to be finished '' part, and change the naming, I have no idea how to do that because it's around 240 frames, and they have a different naming.
e.g :
frame-00-00
frame-00-01
frame-01-00
frame01-01
and so on..
I think it goes something like this.. But I have no idea how to proceed..
def main():
doc = c4d.documents.GetActiveDocument()
if BatchRender.IsRendering() == True:
# I want to say wait until rendering is finished, but I am not sure how I can do that ?
else :
#check if the dir has 240 images and if they are .png type
# Apply the renaming
c4d.EventAdd()
main()
Can you help in this part please ? That would help a lot! Thanks again.
Anyone available to help with this please ?
@bentraje Yes, that's exactly what I am using.. but instead of ONLY having the camera, it also adds the automatic numbering..
Hello!
I have an issue where I need to render my animation sequence but without the automatic numbering (_000 or _0000). I am renaming the camera for this which means that each frame has a unique name and I want to replace the automatic numbering with this.
Is there a way to do so please ? I know some python for c4d but I'm certainly not an expert.
Please help!
Thank you!