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. vtq
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    vtq

    @vtq

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

    vtq Unfollow Follow

    Latest posts made by vtq

    • RE: Python plugin and Linux CLR arguments

      Hello,
      Adding the path to the plugin in g_additionalModulePath fixed the issue.

      Thank you very much for your help.

      posted in Cinema 4D SDK
      V
      vtq
    • RE: Python plugin and Linux CLR arguments

      Thanks for the answer and the example.

      The goal is to get the render settings and a few other parameters from a file without rendering it. I have to do it on linux so the ways to achieve it are limited.

      With your plugin code I had the same results I had with the example from the documentation, nothing happened and I had the message Warning! Unknown arguments: right before C4D END.

      I install these plugins by putting the .pyp file in /opt/maxon/cinema4dr23.110/bin/plugins but they don't seem to load. On the other hand rendering plugins seem to load and work just fine. I also had to export the envvar g_modulePath=/opt/maxon/cinema4dr23.110/bin for the rendering plugins to load.
      Am I missing any step when adding a python plugin ?

      Best regards,

      posted in Cinema 4D SDK
      V
      vtq
    • Python plugin and Linux CLR arguments

      Hello,
      I am currently trying to export the render settings from a .c4d file with python on Linux. If I'm not mistaken the only way to achieve this on Linux is to write a .pyp plugin that reads commandline arguments as explained here and use a special flag to activate a settings exporting script.
      However I couldn't get any output in the console with that type of plugin, even with the example from the docs. Is it possible to use such a plugin on the Linux CLR version of c4d ?

      I tried the plugins with both S24 and R23 versions in a docker container based on Ubuntu 18.04. Rendering (with Arnold or Redshift) works fine.

      Any help would be greatly appreciated.
      Best regards,

      posted in Cinema 4D SDK python s24 r23
      V
      vtq