THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/01/2011 at 05:58, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ; Mac OSX ;
Language(s) : PYTHON ;
---------
Hi,
Is it possible to get the full output file name (including padding and extension) from a scene's render data? Currently I use the following code to get the output file name, but it only gives me the file name's prefix:
scene = documents.GetActiveDocument()
renderData = scene.GetActiveRenderData().GetData()
outputFilename = renderData.GetFilename( 5041 ) # file name ID in render settings
Also, if multi-pass is enabled, is it possible to get the multi-pass output file name as well?
Thanks!
- Ryan