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
    • M

      GeUserarea crash when Redraw() in Message()

      r20 python • • mike
      3
      0
      Votes
      3
      Posts
      289
      Views

      M

      @m_adam oh,i miss this reason,thank you : )

    • Leo_SaramagoL

      User Data button Python Tag r19 - avoid "index out of depth" console feedback

      r19 python • • Leo_Saramago
      4
      0
      Votes
      4
      Posts
      418
      Views

      Leo_SaramagoL

      @m_magalhaes said in User Data button Python Tag r19 - avoid "index out of depth" console feedback:

      if desc_id.GetDepth() > 1

      Thanks a lot, Manuel! It's perfect now.

    • M

      Toolplugin Crash When Close Cinema 4D

      c++ r20 • • mike
      8
      0
      Votes
      8
      Posts
      668
      Views

      M

      @r_gigante Thank you for your answer! it s all fine : )

    • ?

      Splitting Selections maintaining Point Order

      r20 python • • A Former User
      6
      0
      Votes
      6
      Posts
      737
      Views

      M

      A CRC or a Checksum is basically a way to uniquely identify data.
      https://www.howtogeek.com/363735/what-is-a-checksum-and-why-should-you-care/

    • P

      Polygon dimensions

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

      r_giganteR

      Hi Pim, thanks for reaching out us.

      With regard to your question, given for comments from Cairyn, I recommend to refine your approach and to look on the web since there are a few different strategies to find the largest inscribed rectangle in a non-convex polygon (among them I recommend having a look at this).

      With regard to the points walking direction for a given polygon this is defined by the polygon normal and the left-hand rule and it should definitively not be randomly defined.

      Cheers, Riccardo

    • B

      Unexpected Spline Behavior on Creating IK Spline Tag

      r20 python • • bentraje
      3
      0
      Votes
      3
      Posts
      295
      Views

      M

      Hi @bentraje, since you rotate the axis (with SetMg) you also need to update the tangents according to the correct axis since tangents are in local space of points positions which are also in local space of the object.

      But as you figured is more rigging than a programming issue. And if you already solve the issue congratz! 😉

      Cheers,
      Maxime.

    • ?

      Large Delay with Python Interpreter in PyCharm

      r20 python sdk • • A Former User
      3
      0
      Votes
      3
      Posts
      375
      Views

      M

      Hi @blastframe, I can only confirm what's @mp5gosu said, and confirm that c4dpy is a complete Cinema 4D executable, just opened as a python interpreter mode.
      So nothing to do here, unfortunately.

      Cheers,
      Maxime.

    • ?

      Pycharm - Invalid Python SDK

      r20 python sdk • • A Former User
      3
      0
      Votes
      3
      Posts
      10.4k
      Views

      ?

      @m_adam said in Pycharm - Invalid Python SDK:

      Hi, @blastframe thanks for contact us.

      So far we never encounter this issue and we are not able to reproduce it so few ideas to try:

      Make sure you have permission to write in the Cinema 4D folder and subfolder. Flush the cache, https://stackoverflow.com/a/45099651. Send us your PyCharm log, see https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

      Cheers,
      Maxime.

      Hi @m_adam,
      Thank you for the reply. I ran PyCharm as an Administrator and flushed the cache. I still received the same error. When I looked at the log, I found a lot of missing file errors, which made me think I had the python.exe (c4dpy.exe) file in the wrong location. When I moved the file to the same folder as the R20 .exe, PyCharm started working. I was confused about the file location because, while in the Install instructions from the C4D Python SDK Documentation has the c4dpy in the C4D folder, this image made it seem like it could exist in a separate folder:
      c4dpy_pycharm_win2.png

      I would have expected a file location similar to the default Windows location:
      C:\Program Files\MAXON\Cinema 4D R20\python.exe

      Thank you again. I have one follow-up question that I'll ask as a new topic.

    • B

      Set Keyframes through a Python Tag

      r20 python • • bentraje
      9
      0
      Votes
      9
      Posts
      1.2k
      Views

      B

      @m_adam

      Gotcha. Work as expected.
      Thanks for the response.

      Have a great day ahead!

    • chuanzhenC

      ObjectData plugin Draw() question

      python r19 • • chuanzhen
      4
      0
      Votes
      4
      Posts
      416
      Views

      chuanzhenC

      @m_magalhaes Thanks,i will try to use C++☺

    • B

      Converting COFFEE to Python

      python r20 • • bnash
      3
      0
      Votes
      3
      Posts
      954
      Views

      M

      Any news?
      I turned your topic as solved, but feel free to ask questions, or bump it again if you need it.

      Cheers,
      Maxime.

    • O

      LoadFile(Filename file) does not work for layouts.

      c++ r20 windows • • Ogers
      8
      0
      Votes
      8
      Posts
      1.3k
      Views

      ManuelM

      Again sorry, I've tested with the Studio version.

      Using C4DPL_PROGRAM_STARTED case I can confirm this "bug" with a Educational version and a Demo version.
      Not with the Studio version.

      Maybe something with that extra "popup" windows on those both versions.

      Cheers
      Manuel.

    • fwilleke80F

      Type Viewer not working in Visual Studio 2015

      windows c++ r20 sdk • • fwilleke80
      7
      0
      Votes
      7
      Posts
      565
      Views

      fwilleke80F

      Thank YOU 🙂

    • M

      DRAWPASS::HANDLES Not Effect DRAWOBJECT()

      r20 c++ • • mike
      6
      0
      Votes
      6
      Posts
      524
      Views

      M

      @m_magalhaes thank you : ) : ) : )

    • B

      Bug on GetActiveObjects() on R20.057?

      r20 python • • bentraje
      4
      0
      Votes
      4
      Posts
      390
      Views

      ManuelM

      Hello,

      nothing more to add here except that we confirm and thanks @C4DS for his answer.

      Cheers
      Manuel

    • P

      GetLayerData() for Xref

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

      M

      Hi @pim, does the solution provided is ok for you?

      EDIT: I turned it into solved but please feel free to open it again if you need to.

    • A

      C4D hangs when call BaseShader->Edit() for the message MSG_DESCRIPTION_CHECKUPDATE

      r20 c++ windows • • Aaron
      5
      0
      Votes
      5
      Posts
      407
      Views

      M

      Since no news, I mark it as solved (closed), but feel free to open it again.

    • O

      Customizing the Layout and Palettes

      r20 windows sdk • • Ogers
      3
      0
      Votes
      3
      Posts
      636
      Views

      O

      Hello @m_adam
      I see, I will have to use one of the other alternatives then.
      Thank you.

    • M

      how to write description "Coordinates"

      c++ r20 • • mike
      6
      0
      Votes
      6
      Posts
      554
      Views

      M

      @m_magalhaes thank you for your answer 🙂

    • S

      Cannot modify Lens Effects

      • • sean
      3
      0
      Votes
      3
      Posts
      284
      Views

      S

      @m_adam Thank you. Thank you very much!