On 19/01/2016 at 11:11, xxxxxxxx wrote:
Hi,
I'm trying to use FilenameConvertTokens to replace all the tokens in my file path but $pass and $userpass aren't getting replaced.
I'm assuming that I'm not building up my RenderPathData dictionary properly. I'm not clear on what _rBc should be. The docs show that it should be a BaseContainer and the example calls it renderSettings but I'm not sure how to get that information. Currently, I have it set to:
rpData = {
'_doc': doc,
'_rData': doc.GetActiveRenderData(),
'_frame': doc.GetTime().GetFrame(doc.GetFps())
}
I'm also adding a take if it's supported but that's probably not important to this question.
Anyways, hopefully someone can point me in the right direction.
Thanks,
Eric