Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. Rurymhn
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Rurymhn

    @Rurymhn

    0
    Reputation
    3
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Rurymhn Unfollow Follow

    Latest posts made by Rurymhn

    • RE: Trouble With Expression Editor

      Bringing the viewport into focus worked... wow, I had a feeling it was something simple like that!

      posted in General Talk
      R
      Rurymhn
    • RE: Trouble With Expression Editor

      Above is a quick screen grab of me trying to run it.

      posted in General Talk
      R
      Rurymhn
    • Trouble With Expression Editor

      So I am in the process of learning how Python and scripting in C4D works.
      Working with this interesting tutorial series, but have falled down at the first hurdle: nothing seems to run from the expression editor.
      I have run scripts successfully from the Script Manager, but nothing so far from the Expression Editor.

      All I have is:
      a cube with a python tag
      The following code:

      import c4d
      import sys
      #Welcome to the world of Python
      
      def main():
          print sys.version
      

      It runs fine in the command line and in the script manager, but not the expression editor looking at the python tag on the cube.

      Any suggestions where I may have gone wrong?

      R21.207 (Build RB303831)

      posted in General Talk
      R
      Rurymhn