Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C4DtoA: Getting R20 to see arnold_setup_cryptomatte.py

5 REPLIES 5
Reply
Message 1 of 6
psyop
268 Views, 5 Replies

C4DtoA: Getting R20 to see arnold_setup_cryptomatte.py

We have our own application launcher that sets the environment variables necessary to make C4D work with Arnold, but one piece that isn't working is the arnold_setup_cryptomatte.py script.


What environment variable should I be setting--and to what value--to get C4DtoA to see this python script? We've moved it to our own plugin heirarchy on our network server, and nothing I've tried works.


Under R21, setting C4D_SCRIPTS_DIR to point to the folder containing this script works, but not under R20.

Tags (1)
Labels (1)
5 REPLIES 5
Message 2 of 6
peter.horvath6V6K3
in reply to: psyop

C4D_SCRIPTS_DIR works fine for me in R20 (tested on Windows).

Message 3 of 6
psyop
in reply to: psyop

I get the "The arnold_setup_cryptomatte.py script is not installed." popup message.


When I look at the value of C4D_SCRIPTS_DIR in the Python console, it contains the directory where the script lives.


Platform: Windows 10, Cinema 4D R20.026, C4DtoA 2.4.5.1.

Message 4 of 6
peter.horvath6V6K3
in reply to: psyop

Still can not reproduce it. Windows 10, C4D R20.059, C4DtoA 2.4.5.1. Can you check if the script is listed in the Script Manager (Shift + F11)?

Message 5 of 6
psyop
in reply to: psyop

Since it works with R21.207 and C4DtoA 2.6.1.4+5.4.0.1, I am left to conclude that it is a bug in C4DtoA 2.4.5.1 that was fixed in a later release.


Either that, or 2.4.5.1 looks at something other than C4D_SCRIPTS_DIR for this script.

Message 6 of 6
peter.horvath6V6K3
in reply to: psyop

Well, I'm not sure, as I said I tested with C4DtoA 2.4.5.1 and it worked. Don't recall any related fixes. But you can test a newer version if you can.

I was thinking maybe a bug in C4D, since I tested with R20.059 and you have R20.026, although I don't see any related fixes in the release notes.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report