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. Cinema 4D SDK
    Log in to post
    Load new posts
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • P

      The python SDK is running in error

      sdk c++ python • • panney
      2
      0
      Votes
      2
      Posts
      183
      Views

      r_giganteR

      Hi panney, thanks for reaching out us.

      With regard to the issue you're experiencing, it's pretty likely that the cause is a different revision between the c4dpy executable and the Cinema 4D revision. Please be sure that they both matches (20.059 c4dpy is available here[URL-REMOVED]).

      Last but not least, here you can find more detail on the c4dpy executable.

      Best, R.

      [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

    • M

      access sound attributes using python API

      r20 python • • mafster
      7
      0
      Votes
      7
      Posts
      614
      Views

      M

      Hey @mrittman, i cant find the id names in documentation but i think CID_SOUND_START would be the timecode of when the audio starts (notice you are assigning a BaseTime object to it) CID_SOUND_NAME which i'm using is the audio file path.

      My application is taking the audio file path and the image sequence output (as defined by the render output settings) and combining them via a subprocess using ffmpeg. If there was a way i could do it straight through c4d id prefer that! Mainly cos ffmpeg is a mission! especially when you need to shift/delay audio and what not.

    • P

      Define your own icons for mouse cursor

      r20 python • • pim
      5
      0
      Votes
      5
      Posts
      408
      Views

      P

      Ok, something to think about and to consider.

    • M

      Project tool: Custom plugin name and master solution

      • • mp5gosu
      3
      0
      Votes
      3
      Posts
      361
      Views

      M

      Thanks Sebastian!
      Looking forward for a fix. 😉
      Meanwhile I'll take care of your recommendation.

      Best,
      Robert

    • B

      Python Tag Priority Problem

      r20 python • • bentraje
      7
      0
      Votes
      7
      Posts
      420
      Views

      B

      Works as expected. Thank you @m_adam for getting back to me.

      Have a great day ahead!

    • F

      Porting plugin to R20, disable style guide?

      • • FilipM
      4
      0
      Votes
      4
      Posts
      393
      Views

      F

      Thanks Sebastian, I will try that!

      /Filip

    • mikeudinM

      Get Message from TreeView gui dialog

      python • • mikeudin
      2
      0
      Votes
      2
      Posts
      294
      Views

      S

      Hello,

      SendParentMessage() is a member function of GeUserArea. It is only relevant if you create a custom GUI element based on GeUserArea.

      A class based on TreeViewFunctions is used to define the behaviour of a TreeViewGUI. It is not based on GeUserArea.

      In TreeViewFunctions, you could inform the host GeDialog about an event by sending a custom core message using SpecialEventAdd(). The GeDialog can catch this message with CoreMessage(). If you want to send data, one way is to store the data in a global variable which is then accessed by the dialog.

      best wishes,
      Sebastian

    • P

      DrawLine2D on top of everything else

      r20 python • • pim
      6
      0
      Votes
      6
      Posts
      426
      Views

      P

      Thanks.
      Pim

    • CairynC

      How do I find the z-depth with Python ViewportSelect.PickObject()?

      r19 python windows classic api • • Cairyn
      3
      0
      Votes
      3
      Posts
      300
      Views

      CairynC

      @m_adam Oops. Okay, GeRayCollider works only for polygon objects, as does GetPixelInfoPolygon.

      The idea was to provide a new selection method for arbitrary objects by just checking all hits of a scattered PickObject within a radius, and then select the nearest hit. For that, I need to be able to hit splines and parametric objects as well.

      Okay, I guess I can still do that in C++ then, thanks.

    • P

      Precise float parameters in UI

      c++ r20 sdk • • peterakos
      4
      0
      Votes
      4
      Posts
      335
      Views

      rsodreR

      Shouldn't STEP be used to set this precision?
      Or is there a limit for STEP?

    • T

      STEP/STP FILE IMPORT PYTHON DOCUMENTATION

      r20 python • • Telerak
      5
      0
      Votes
      5
      Posts
      2.7k
      Views

      T

      @mp5gosu @m_adam I'll test out these options and see how it works out. Thanks for the information guys, I appreciate it!

    • R

      This topic is deleted!

      • • Rage
      2
      0
      Votes
      2
      Posts
      25
      Views
    • chuanzhenC

      DeformCache Update

      r19 python • • chuanzhen
      3
      0
      Votes
      3
      Posts
      314
      Views

      chuanzhenC

      @m_adam Thanks👍

    • O

      Shader-Material Linking

      c++ r20 sdk classic api • • Ogers
      2
      0
      Votes
      2
      Posts
      186
      Views

      M

      Hi @Ogers, unfortunately, there is no direct way to do so.
      The only working solution is to retrieves the host of the shader (using BaseList2D.GetMain) Then iterates the description of this element and all its children to see where the shader is used.

      Cheers,
      Maxime.

    • P

      SpecialEventAdd and structures / containers

      r20 python • • pim
      2
      0
      Votes
      2
      Posts
      200
      Views

      M

      Hi @pim,

      In Python, SpecialEventAdd can only pass integer value, so the sender part can store the data into the document BaseContainer send the SpecialEventAdd/ Process this event read back the data from the active document BaseContainer.

      You can find valuable information on this topic https://developers.maxon.net/forum/topic/8219/10712_pluginmessage-and-pycobject-solved/5.

      Cheers,
      Maxime.

    • D

      Cinema 4D crashed without knowing it crashed

      • • daesuncupid
      2
      0
      Votes
      2
      Posts
      219
      Views

      a_blockA

      Hi,

      I'm sorry you are having issues with Cinema 4D.
      You have ended up in MAXON's support forum for 3rd party developers.
      This is actually not a good place for user support requests. Instead I suggest to use the support form on our website.

      Cheers,
      Andreas

    • mikeudinM

      TreeView: How to insert dragobject as new item

      r20 python • • mikeudin
      2
      0
      Votes
      2
      Posts
      219
      Views

      mikeudinM

      Solved. There is TREEVIEW_OUTSIDE_DROP option.

    • P

      Send message to tooldata

      r20 python • • pim
      4
      0
      Votes
      4
      Posts
      386
      Views

      P

      @C4DS said in Send message to tooldata:

      PrepareData

      Your first answer works great! Thank you.

    • P

      Drag&Drop in Editor window

      r20 python • • pim
      3
      0
      Votes
      3
      Posts
      241
      Views

      P

      Yes - dragging session only occurs in a 2D space - I thought so.
      Thanks.

    • P

      Transform mouse coordinates to c4d coordinates

      r20 python • • pim
      5
      0
      Votes
      5
      Posts
      493
      Views

      P

      Thanks for the answer.

      I just started with a command plugin.
      New requirements emerged and yes, perhaps I now change over to a tool plugin.