Jump to content


Python not backwards compatible in C4D

Recommended Posts

I'd always assumed that Python code was fairly portable - it's just text, right ? Seems like it's not...


I recently got a message 'thanks for the script, but it didn't work'. The guy was on an older version of C4D than me, and my bit of Python failed. I did a test with a file created in R20 that I attempted to open in R16, and got this




This can be fixed by copy/paste the text into a new R16 Python window, or just deleting the 1st line 'import c4d' and rewriting it. R16 is Python 2.64, R20 is Python 2.7.14 and the difference is enough to break your scene. Makes me wonder how many 'bad' scenes I've given people in the past.


You can get your version here -




D'OH ! as Homer Simpson would say...



  • Like 1

Share this post

Link to post
Share on other sites

Only registered users can see replies - please register for full access!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.



C4D Cafe is the largest CINEMA 4D community. We provide facilities for discussion, showcasing and learning our favorite software :) Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, get your own private messenger, post status updates, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, Cafe is the right place.
  • Create New...