C4DtoA Texture Search Path string tokens?

C4DtoA Texture Search Path string tokens?

Anonymous
Not applicable
729 Views
3 Replies
Message 1 of 4

C4DtoA Texture Search Path string tokens?

Anonymous
Not applicable

Is there a way to get string tokens in the Texture Search Path parameter in C4DtoA? I am trying to create a situation where I can create a new c4d file where that parameter is automatically dynamically linked to a /tex directory with the name of the c4d file included in the path. For example, I could open c4d, save the new scene as a new file called "c4dTest.c4d" and I'd like the Texture Search Path to automatically become "serverDirectoryBlahBlahBlah/c4dTest/tex". And I'm guessing the token'd path would be something like "serverDirectoryBlahBlahBlah/%sceneName%/tex" with percentage signs or something.

Is what I'm asking impossible? The reason why I want this is because I am going to be exporting .ass files to a server where I have a directory with different project scenes in their own folders. One of those folders would be /c4dTest with a /tex folder in it. Using string tokens for this parameter would be pretty convenient to always link to the proper tex folder so that I don't have to specify it every time.

I know this is super mundane since literally all I have to do is append "theSceneName/tex" to the server directory location for each new c4d project but I suppose I just love the idea of automation. Also if there is a better/more official methodology of doing this I'd like to know that instead.

Thanks!

0 Likes
Accepted solutions (1)
730 Views
3 Replies
Replies (3)
Message 2 of 4

peter.horvath6V6K3
Advisor
Advisor
Accepted solution

Currently tokens are not allowed in search paths. Should not be difficult to add support for them in a next release.

0 Likes
Message 3 of 4

Anonymous
Not applicable

@Peter Horvath thanks for the answer! Should I submit a feature request somewhere?

0 Likes
Message 4 of 4

peter.horvath6V6K3
Advisor
Advisor

Not needed, I've already logged the request.

0 Likes