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
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. Cinema 4D SDK
    Log in to post
    Load new posts
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • T

      Python Plugin Missing

      • • terrachild
      11
      0
      Votes
      11
      Posts
      2.0k
      Views

      ManuelM

      hello,

      I will considered this thread as solved tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • B

      Inherit Default Object Creation Behavior in the Palette?

      r21 python • • bentraje
      9
      0
      Votes
      9
      Posts
      957
      Views

      B

      @s_bach

      Thanks for the clarification

    • RenatoTR

      Retrieve the Surface Point of current RayObject from an arbitrary UV value.

      • • RenatoT
      5
      0
      Votes
      5
      Posts
      787
      Views

      RenatoTR

      @m_magalhaes said in Retrieve the Surface Point of current RayObject from an arbitrary UV value.:

      feel free to mark this thread as "solved"

      how? 🙂

      Edit: Solved done 🙂

    • C

      This topic is deleted!

      • • c4dmac
      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • W

      Issues Modifying Cloned Document

      python r21 • • wuzelwazel
      3
      0
      Votes
      3
      Posts
      472
      Views

      ManuelM

      Hello,

      Really sorry about this issue.

      Would it be possible to send us a scene and some screenshot maybe to reproduce the behaviour ? That would be really appreciate. I will send that to our devs.

      You can use our mailbox [email protected]

      Thanks and cheers,
      Manuel

    • G

      Drag and Drop onto Range Slider

      python r19 • • gsmetzer
      15
      0
      Votes
      15
      Posts
      2.3k
      Views

      ManuelM

      hello,

      I'll mark this thread as solved tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • P

      Interact with Plugin Dialog [R21][Win][python]

      python r21 r20 r19 • • ph1lh00k
      7
      0
      Votes
      7
      Posts
      1.1k
      Views

      ManuelM

      hello,

      I'll mark this thread as solved tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • P

      R21 Opencl issue

      r21 • • pim
      3
      0
      Votes
      3
      Posts
      437
      Views

      ManuelM

      hello,

      I'll mark this thread as solved tomorrow if you have nothing to add.

      Cheers,
      Manuel

    • B

      Setting Morph Mixing to Relative But still Remains Absolute

      r21 python • • bentraje
      5
      0
      Votes
      5
      Posts
      698
      Views

      B

      @m_adam

      RE: The A seems to be present until there is a target.
      Thanks for the clarification. That make sense.
      Your code works as expected.

      This is just a trivial question.
      In the documentation for the CAPoseMorphTag.ExitEdit it says:
      Must be called before doing anything to a morph tag.

      Shouldn't it be named EnderEdit? Since we are editing the morph tag or calling the ExitEdit after actually editing the morph tag?

      Again trivial but just seeking some clarification.

    • A

      R21 SDK build error

      r21 sdk c++ windows • • anoano
      7
      0
      Votes
      7
      Posts
      1.1k
      Views

      A

      Thanks for your advice.
      The build is complete.
      It was because VS2017 when Unity was installed was old.
      Now you can build other plugins.
      Thank you very much.

    • E

      Custom framework locations

      • • eldiren
      3
      0
      Votes
      3
      Posts
      501
      Views

      M

      Hi As Kent stated if it's a Cinema 4d frameworks you should put it in the framework directory.
      This way it will be accessible with APIS=common.framework in your projectdefinition.txt

      For more information, take a look at the Custom Framework Manuel.

      If you have any questions, please let me know.
      Cheers,
      Maxime.

    • B

      This topic is deleted!

      • • bentraje
      1
      0
      Votes
      1
      Posts
      9
      Views

      No one has replied

    • B

      Restrict Input Dialog to Numbers?

      r21 python • • bentraje
      3
      0
      Votes
      3
      Posts
      412
      Views

      B

      Hi @m_adam

      Thank you for reference. It works as expected.
      Have a great day ahead! 🙂

    • fwilleke80F

      GeUserArea::DrawText() in R21 behaves different from previous releases?

      r21 c++ classic api • • fwilleke80
      3
      0
      Votes
      3
      Posts
      443
      Views

      fwilleke80F

      Hi Maxime,

      thanks for trying! I'm also sure it's not specific to C++. I'll send you some code as soon as I find the time to strip it down.

      Cheers,
      Frank

    • F

      Improved in 3D modeling

      • • final3d
      2
      0
      Votes
      2
      Posts
      501
      Views

      maxonM

      Hi final3d, thanks for writing us.

      Please file your suggestions and recommendations on Maxon Support page paying attention to select "Suggestions and Ideas for Maxon".

      This forum is only aimed to discuss development-related topics.

      Best, Riccardo

    • R

      Object plugin hangs when IRR is on

      python r20 • • rui_mac
      5
      0
      Votes
      5
      Posts
      659
      Views

      ferdinandF

      Hi,

      reading this thread one question popped into my mind. You wrote:

      I create two temporary documents with IsolateObjects(), and after getting the required objects created in the new temporary documents, I KillDocument() both at the end.

      What do you mean by 'get'? If this means just referencing the objects this might explain your problems, depending on what you are doing with the objects. If you pass the object references as part of the results of your GVO and also free the resources of these temporary documents, you are passing objects that might be dead references at the time of rendering, giving an explanation for your problems.

      Also: When you just remove the resource freeing of your temporary documents, I do not think that they will be freed automatically by Python's garbage collector. The reason is: While the reference count for these document objects (objects referring here to the Python type) is zero after the scope of GVO has closed (making them candidates for collection) the referenced output objects (here referring to the Cinema type) are still alive and they do reference these document objects. Which would cause your temporary document objects to stay in memory. Which would not be too bad, since it would always be just the two documents and not an incrementally increasing amount, a.k.a a memory leak.

      Long story short: Clone your objects if you want to pass them as the output and flush the documents afterwards to make things easy for Pythons gc (which is one of the main reasons why Python tends to be bloaty/slow).

      Cheers
      zipit

    • B

      Setting Parameters from JSON File

      r21 python • • bentraje
      3
      0
      Votes
      3
      Posts
      787
      Views

      B

      @m_adam

      Thanks! Works as expected!

    • B

      Gray Out Custom UI Bitmap Button?

      r21 python • • bentraje
      9
      0
      Votes
      9
      Posts
      1.1k
      Views

      B

      @Cairyn

      Gotcha. Thanks for sharing!

      @m_adam
      ". . . but until everything is moved to the new core"

      That's a nice tease there 🙂

    • E

      FileFormat Exporter

      • • eldiren
      4
      0
      Votes
      4
      Posts
      639
      Views

      E

      Thank you. That worked like a dream.

    • B

      Retrieve the Bottom Center Pivot of an Object?

      r21 python • • bentraje
      5
      0
      Votes
      5
      Posts
      661
      Views

      M

      Hi @bentraje beside zipit said which is indeed correct you may found interesting a plugin I made a long time ago when I started python, which has exactly this purpose but also supports specific objects such as sweep, spline and so on.

      https://github.com/gr4ph0s/graph_bottom_center_axis/blob/master/bottom_axis_center.pyp

      Cheers,
      Maxime.