Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login
    1. Home
    2. Tags
    3. python
    Log in to post
    • All categories
    • a_blockA

      Posemorph tag, pose selection/highlighting

      Cinema 4D SDK
      • python • • a_block
      3
      0
      Votes
      3
      Posts
      142
      Views

      a_blockA

      Hi Maxime,

      thanks for the answer and verifying what I had thought. Indeed I would need it in Animation mode and especially for the case where user highlighted multiple poses at once.

      I had seen that thread, but it did not contain a definitive confirmation from Maxon. Maybe the thread I was thinking of was in a different forum.

      Anyway, good to have your confirmation, now. And not possible only means I can stop wasting time looking around and instead need to implement another workflow for the user. Maybe not as slick as with the selection info, but no show stopper either.

      Cheers,
      Andreas

    • CairynC

      RenderDocument flags and return values?

      Bugs
      • python r23 • • Cairyn
      11
      0
      Votes
      11
      Posts
      475
      Views

      César VoncC

      Just for the info, calling the command to open the PictureViewer and RenderDocument with both c4d.RENDERFLAGS_CREATE_PICTUREVIEWER and c4d.RENDERFLAGS_OPEN_PICTUREVIEWER works just fine for me :

      c4d.CallCommand(430000700) # Picture Viewer c4d.documents.RenderDocument(doc, rdData, bmp, c4d.RENDERFLAGS_EXTERNAL | c4d.RENDERFLAGS_CREATE_PICTUREVIEWER | c4d.RENDERFLAGS_OPEN_PICTUREVIEWER)
    • B

      With the new asset browser, API for the content browser is no longer possible?

      Cinema 4D SDK
      • s24 python • • bentraje
      9
      0
      Votes
      9
      Posts
      368
      Views

      ferdinandF

      Hello @john_do,

      the Asset Browser is an important feature for Maxon and we plan to build upon it. Despite that, we are not at liberty to currently disclose when we are going to provide Python bindings for the Asset Brower or if this will happen at all.

      I understand that this is a unsatisfying answer, but it is unfortunately the best we can currently give.

      Thank you for your understanding,
      Ferdinand

    • P

      CENTER AN OBJECT IN THE VIEW AND MAXIMIZE ITS SIZE

      Cinema 4D SDK
      • python • • pyr
      3
      0
      Votes
      3
      Posts
      199
      Views

      ferdinandF

      Hello @pyr,

      without any further questions or replies, we will consider this topic as solved by Monday and flag it accordingly.

      Thank you for your understanding,
      Ferdinand

    • a_blockA

      GeDialog lacking InitValues, when docked and folded

      Cinema 4D SDK
      • windows python r19 r21 r23 s24 • • a_block
      8
      2
      Votes
      8
      Posts
      376
      Views

      ferdinandF

      Dear community,

      this bug has been fixed and will be integrated with an upcoming release of Cinema 4D S24 (hopefully the next one).

      Cheers,
      Ferdinand

    • B

      Get the String of the Font Data?

      Cinema 4D SDK
      • r21 python • • bentraje
      4
      0
      Votes
      4
      Posts
      227
      Views

      B

      @Cairyn @ferdinand

      Thanks for the response. Printing the base container with their indexes worked in my use case 🙂

    • H

      Write a python code into a Python Effector

      Cinema 4D SDK
      • python • • Hugo BATTISTELLA
      10
      0
      Votes
      10
      Posts
      282
      Views

      H

      @Cairyn Thank you for your help ! That's it. I confused it all with the wrong word. Sory... Your answers help me very nicely

      @ferdinand I apologize about going out of the guidelines. I understand this and will create new topic for that point

    • H

      LINK EFFECTORS TO CLONERS

      Cinema 4D SDK
      • python • • Hugo BATTISTELLA
      4
      0
      Votes
      4
      Posts
      208
      Views

      H

      Thank you @bentraje and @ferdinand !

      You make the deal of the EffectorList function much clearer ! It works well now

    • mfersaouiM

      Placing a custom menu under the File Menu and on specific position

      Cinema 4D SDK
      • python • • mfersaoui
      4
      0
      Votes
      4
      Posts
      256
      Views

      mfersaouiM

      @mfersaoui
      Hi,
      I found the following solution:

      FileMenu = c4d.BaseContainer() resource = c4d.plugins.GeResource() resource.InitAsGlobal() FileMenu.InsData(c4d.MENURESOURCE_SUBTITLE, resource.LoadString(12587))
    • B

      Python Generator Mimicking Cloner That Can Modify Individual Cloner Parameters (Except PSR)?

      Cinema 4D SDK
      • r21 python • • bentraje
      4
      0
      Votes
      4
      Posts
      245
      Views

      B

      @Cairyn @ferdinand

      Thanks for the response. The python generator works as expected.

      I did try to retrieve the cache earlier for mograph but with a python tag rather than a python generator, but it has some priority delays. Your solution is much more stable.

      Now, I don't have to jump to houdini for such simple scenes.

      Have a great day ahead!

    • orestiskonO

      Best Practice to transfer a variable from another function?

      Cinema 4D SDK
      • python sdk • • orestiskon
      3
      0
      Votes
      3
      Posts
      134
      Views

      orestiskonO

      Thanks Manuel, yes that's how I ended up doing it in the end.

      I thought it would've been simpler to extract a variable from the main function, since it had already calculated. All I would need is to save the variable somewhere where the button function can read it, so this is where I tried the global variables but it didn't work.

    • C

      How to set Roughness texture to material?

      Cinema 4D SDK
      • • • Chris Chris
      3
      0
      Votes
      3
      Posts
      188
      Views

      C

      Hello Maxime,

      Thanks for fixing the category for my post. I am new to Cinema4D.
      I found the correct IDs by opening the UI for the material and drag and drop the settings into the Python console.

      Kind Regards,
      Chris

    • D

      Fields and Adding an Effector

      Cinema 4D SDK
      • c++ python r20 sdk • • d_schmidt
      3
      0
      Votes
      3
      Posts
      148
      Views

      D

      @m_magalhaes

      Thank you! Works perfectly.

      Dan

    • H

      Blank appearing dropdown cycle

      Cinema 4D SDK
      • python macos • • HerrMay
      5
      0
      Votes
      5
      Posts
      209
      Views

      H

      @m_adam alrighty got it working. 😃
      Thanks again. You can close this thread if you like.

      Cheers,
      Sebastian

    • P

      Create a Take

      Cinema 4D SDK
      • r23 python • • pim
      5
      0
      Votes
      5
      Posts
      188
      Views

      ferdinandF

      Hello @pim,

      without any further feedback or questions, we will consider this topic as solved by Wednesday and flag it accordingly.

      Thank you for your understanding,
      Ferdinand

    • M

      startup script in R23 not working anymore

      Cinema 4D SDK
      • r23 python • • marc_angele
      3
      0
      Votes
      3
      Posts
      181
      Views

      M

      hi @ferdinand
      thank you very much for your response!

      the python_init.py does the job perfectly 🙂

      great support, thanks a lot!

      best,
      marc.

    • JH23J

      How to delete obj in the environment from a button in userdata

      Cinema 4D SDK
      • r20 python • • JH23
      4
      0
      Votes
      4
      Posts
      176
      Views

      ferdinandF

      Hello @JH23,

      without any further feedback or questions, we will consider this topic as solved by Wednesday and flag it accordingly.

      Thank you for your understanding,
      Ferdinand

    • J

      Create Geometry from Python Generator

      Cinema 4D SDK
      • python • • johntravolski
      7
      0
      Votes
      7
      Posts
      449
      Views

      J

      @johntravolski
      I figured it out, I needed to add

      node.Message(c4d.MSG_UPDATE)

      after the for double loop where I set the polygons.

    • K

      SaveDocument Unexpected Behavior in R23

      Cinema 4D SDK
      • • • Kon Q
      3
      0
      Votes
      3
      Posts
      142
      Views

      K

      @m_magalhaes

      Thank you so much for the help! The script works fine after adding this line.

      Cheers,
      Kon