Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Register
    • Login
    1. Maxon Developers Forum
    2. Tags
    3. python
    Log in to post

    • All categories
    • chuanzhenC

      restore weight to BaseContainer and get it Vs Direct get weight from weight Tag

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r19 python
      7
      0 Votes
      7 Posts
      3k Views
      chuanzhenC
      @m_adam Wow, I learned some tricks from your code! ( so important to me) Thank you very much for your optimization and testing of your personal time, which is very helpful to me! (C++ is so fast)
    • R

      Modular plugin programming

      Watching Ignoring Scheduled Pinned Locked Moved General Talk python
      6
      0 Votes
      6 Posts
      3k Views
      S
      Hello, you might have to add the pyp file path to the system path using: sys.path.append(os.path.dirname(__file__)) so import sys import os sys.path.append(os.path.dirname(__file__)) import hello_function best wishes, Sebastian
    • R

      Move an object in hierarchy

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      4
      0 Votes
      4 Posts
      3k Views
      a_blockA
      Hi, both answers already provide valid solutions. Nice. @Rage: Please also consider to use the tagging system (see Read Before Posting) and the Question and Answer feature (see Q&A New Functionality). Especially the tags can help, like for example in this case @mp5gosu would probably have provided you with Python code, if the respective tag was set. Besides setting tags and changing into a question, I have also moved this thread into the Cinema 4D Development category. And then I want to add a few links to Python docs: GeListNode CallCommand() Cheers, Andreas
    • O

      Is C4D_PLUGINS_DIR env var still working (R20.0.28)?

      Watching Ignoring Scheduled Pinned Locked Moved General Talk r20 python
      2
      0 Votes
      2 Posts
      3k Views
      S
      Hello, in Cinema 4D R20 the environment variable C4D_PLUGINS_DIR has been removed. It has been replaced with g_additionalModulePath. You can use this command also as a command line argument. See Environment Variables. Please notice that you can mark your post also as a question. See Q&A New Functionality. best wishes, Sebastian
    • M

      Python Script Gui: Use EditSlider Get Float

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      4
      0 Votes
      4 Posts
      2k Views
      M
      Hi, @mike if the previous post solves your issue, please mark it as the correct answers. It will switch the topic as solved. To do so please read Q&A functionality. Of course, if you didn't test my previous post, or may have follow-up questions, do not mark as solved and take as much time as you need to ask us. But if there is nothing more to add please mark your topic as solved. Cheers, Maxime
    • T

      Current C4D Object ID #'s and Type Descriptor string list --Where is one?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python
      7
      0 Votes
      7 Posts
      3k Views
      T
      @mp5gosu Thank you, that is a good tip. I see that Onull=5140 is listed and it looks like all others are in there too! Thom
    • J

      Mosplines - Iterate Width

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      14
      0 Votes
      14 Posts
      5k Views
      a_blockA
      Hi, I'm sorry for getting back so late. My examples should be easily adapted to random values. Our Python SDK does not directly provide means for random numbers, but Python's random module should do the trick just fine. Cheers, Andreas
    • H

      Modify Sketch&Toon Rendersettings

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      3
      0 Votes
      3 Posts
      1k Views
      Y
      Hi Holger, I'm wondering if your question has been answered. If so, please mark this thread as solved. Cheers, Yannick
    • B

      Simple Box Gui Creation

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python windows r19
      9
      0 Votes
      9 Posts
      4k Views
      B
      @a_block Case solved! Thanks again for your patience.
    • H

      Modify Spline Gui

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      3
      0 Votes
      3 Posts
      1k Views
      S
      Hello @HolgerBiebrach , I'm wondering if your question has been answered. If so, please mark this thread as solved. best wishes, Sebastian
    • Z

      how to import c4d on my python project

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r19 python
      6
      0 Votes
      6 Posts
      3k Views
      M
      Hi @zhhm156 I'm wondering if your question has been answered. If so, please mark this thread as solved. Cheers, Maxime.
    • R

      c4dpy not working on OS x 10.12

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      5
      0 Votes
      5 Posts
      2k Views
      Y
      Note c4dpy does not work with a R20 free educational license. But c4dpy runs fine with a paid R20 student license.
    • H

      Adding Multiple Keyboard Shortcuts within a Python Script

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python sdk
      5
      0 Votes
      5 Posts
      3k Views
      M
      Hi @Hexbob6 I'm wondering if your question has been answered. If so, please mark this thread as solved. Cheers, Maxime.
    • SwinnS

      Update in UD link does not update object in Volume Builder Object List

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      5
      0 Votes
      5 Posts
      2k Views
      SwinnS
      @m_adam Cool. Thank-you for your time and patience.
    • H

      Check if Object is Spline Type

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      3
      0 Votes
      3 Posts
      2k Views
      H
      Hi Maxime. Thanks a lot. That helped me.
    • mikeudinM

      Cinema 4D R20 (20026) GeDialog.SetLong, SetInt32 OverflowError

      Watching Ignoring Scheduled Pinned Locked Moved General Talk r20 python
      7
      0 Votes
      7 Posts
      3k Views
      Y
      Hi @mikeudin, I'm wondering if your question has been answered. If so, please mark this thread as solved. Cheers, Yannick
    • rsodreR

      Calling CommandData by name

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ python r19 r20
      5
      0 Votes
      5 Posts
      2k Views
      a_blockA
      Hi, just want to ask, if can consider this topic as solved. Bye, Andreas
    • SwinnS

      Volume Builder does not return object

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      10
      0 Votes
      10 Posts
      4k Views
      M
      Hi @Swinn are you sure in your script you define in line 19/20 settings[c4d.VOLUMETOMESHSETTINGS_ISO] = -5.51 settings[c4d.VOLUMETOMESHSETTINGS_ADAPTIVE] = 0.0 With the same value, you got in your volume mesher object? The voxel range threshold can't be directly passed as an argument, but you can expand this parameter in the volume mesher and then you get the Use Absolute Value (ISO) check box, which let you choose an ISO value. Cheers, Maxime.
    • eZioPanE

      Force InExclusionData update after remove object outside of In-/Exclusion User Data

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r19
      7
      0 Votes
      7 Posts
      3k Views
      eZioPanE
      Hi, @y_puech I may find a bug of the forum about "mark a post correct answer", discussion post here: Cannot mark post as answer Once this bug solved, I will re-edit this topic and posts correctly.