question

Leslie Rudner avatar image
Leslie Rudner asked ·

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.

c4dtoa
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Leslie Rudner avatar image
Leslie Rudner answered ·

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.

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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.

0 Likes 0 · ·
Leslie Rudner avatar image
Leslie Rudner answered ·

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.

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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)?

0 Likes 0 · ·
Peter Horvath avatar image
Peter Horvath answered ·

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

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.