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

      Timeline control via OSC and EventAdd doesnt update the scene

      python • • Zebru
      2
      0
      Votes
      2
      Posts
      522
      Views

      a_blockA

      Hi,

      welcome to the Plugin Café forum ☺

      Before answering your question, I'd like to ask you to please read "Read Before Posting". No worries, I have turned this thread into a "question", added tags and moved it to the Cinema 4D Development category for you.

      I'm a bit surprised it's supposed to work on Mac. The thing is, SetTime() just sets the time of the document, but it does not implicitly trigger a re-evaluation or execution of the scene. For this you need to use ExecutePasses() after calling SetTime().

      There's some more information on this in our C++ SDK manuals. I know, we are talking Python here, but maybe it's interesting anyway: BaseDocument manual -Time.

      Cheers,
      Andreas

    • merkvilsonM

      Detect single click

      python • • merkvilson
      4
      0
      Votes
      4
      Posts
      785
      Views

      r_giganteR

      Hi merkvilson, thanks for following up.

      With regard to the MSG_EDIT it's actually dispatched just when double-click event is executed by the user.
      What is then executed depends on what is implemented in the NodeData::Message() method when the MSG_EDIT message is received in a certain NodeData.
      An example on how the double-click event in the ObjectManager works can be found via the Physical Sky, where, double clicking on the icon in the OM, just opens the Sky Manager UI.

      Best, Riccardo

    • N

      Force fields for dynamics simulations

      c++ • • nikolay
      6
      0
      Votes
      6
      Posts
      1.2k
      Views

      r_giganteR

      Hi Nikolay, thanks for following up.

      I've forwarded the idea request to the development department responsible for. After evaluating they'll decide if and when to schedule this API addition in our release cycle.

      Best, Riccardo

    • merkvilsonM

      c4d.PrefsLib_OpenDialog is not working.

      python r20 • • merkvilson
      3
      0
      Votes
      3
      Posts
      629
      Views

      merkvilsonM

      @m_adam

      Thanks, Maxime!
      You solved yet another issue.

    • merkvilsonM

      InitResourceBitmap issues

      • • merkvilson
      3
      0
      Votes
      3
      Posts
      661
      Views

      merkvilsonM

      Thanks, Andreas!
      I was looking for interface_icons_2x for a while 😁

    • kbarK

      Ovolumeloader

      r20 c++ sdk • • kbar
      3
      0
      Votes
      3
      Posts
      826
      Views

      kbarK

      Thanks Sebastian. I did not realize it was a generator. Couldn't find it mentioned in the docs. However I was searching for VolumeLoader in the docs and on here, and I think the official docs searching system doesn't always return the results.

      Anyway, all good now. Thanks again.

    • C4DSC

      Projecttool - avoid updating all projects

      • • C4DS
      15
      0
      Votes
      15
      Posts
      2.4k
      Views

      a_blockA

      Here's an older blog post about VS property sheets. Still for VS2010, but the principle is still the same.
      Sharing project properties in Visual C++

    • M

      EditText: intercept/discard keystrokes

      python r20 windows • • mp5gosu
      7
      0
      Votes
      7
      Posts
      1.3k
      Views

      M

      Thank you Maxime.

      My current solution looks pretty similar to yours and works .
      Implementing an own gadget is of course out of scope - I don't even get paid for that. ☺

    • A

      Cinema 4D R20 and Octane 3.08.5 attribute issue

      • • AndreAnjos
      11
      0
      Votes
      11
      Posts
      6.3k
      Views

      A

      @a_block
      Hi Andreas,

      Thanks for your help and you are never too late! ☺
      That actually makes more sense.
      Unfortunately I can't seem to replicate the issue again on my machine, as it seems that it's been working for all my updates.

      I will have a look on one of my team machines when released and see if that could be the problem.

      Thank you again! 👍

    • O

      Number and Position of Points for Light Object

      sdk c++ classic api r20 windows • • Ogers
      3
      0
      Votes
      3
      Posts
      495
      Views

      O

      Hello @r_gigante
      Thank you for your time and answer. I will try the other way then.
      Best, Ogers

    • J

      GetVirtualObjects or GetContour

      c++ sdk r20 • • JohnThomas
      3
      0
      Votes
      3
      Posts
      880
      Views

      J

      Thank you for your answer. That was exactly what I was looking for.

      John Thomas

    • F

      Is there an online doc with all the 'id list' / 'type name' for the R20 ?

      • • fransua
      3
      0
      Votes
      3
      Posts
      776
      Views

      M

      Hi @Fransua welcome in the plugincafe community.

      Do not worry since it's your first post but please read and follow these rules (I've setup your post correctly)

      How to Post Questions especially the tagging part. Q&A New Functionality.

      Unfortunately, a complete list is not available for the moment. But if you are looking only for object there is this page Object Types and Fields Object Types which refer to all symbols available to describe an object.

      To know a specific object id, you can drag and drop this object/element to the console, for more information see Python Console, Scene Elements.

      Finally, you can also retrieve for the full list of id by their type with c4d.plugins.FilterPluginList

      Cheers,
      Maxime.

    • merkvilsonM

      Drive one parameter with another and vice versa

      python • • merkvilson
      3
      0
      Votes
      3
      Posts
      704
      Views

      merkvilsonM

      Thanks, Andreas! 💙
      This is a really interesting approach.

    • B

      Select the Children of a Selected Object. Then, Store it in a List

      r20 python • • bentraje
      4
      0
      Votes
      4
      Posts
      1.6k
      Views

      B

      @mp5gosu

      Thanks for the response and for the link regarding recursive and nonrecusive distinction, but I think the recursive version is shorter to write

      @Cairyn

      Thanks for the revised script. Works as expected. To be honest, I really do not know Python in C4D per se. I'm just winging it. Hahaha.
      So, thanks for the explanation!

    • B

      Retrieve the newly created object from the "IK_TAG_ADD_GOAL" command?

      r20 python • • bentraje
      5
      0
      Votes
      5
      Posts
      980
      Views

      B

      Gotcha. Thanks for clarification!

    • merkvilsonM

      GeDialog.GetType() Missing Link

      python • • merkvilson
      2
      0
      Votes
      2
      Posts
      478
      Views

      M

      Hi, @merkvilson thanks for pointing this function is private and have no use case since its return the type of a c4d.gui.Gadget which is only used internally.

      Cheers,
      Maxime.

    • B

      Calling a Tool (Naming Tool) and Modify the Parameters

      r20 python • • bentraje
      7
      0
      Votes
      7
      Posts
      1.5k
      Views

      B

      @C4DS

      Works as expected. Phew! I never knew it is this complicated.

      Thanks again. Have a great day ahead!

    • B

      Execute a Python Code Within PyCharm that Connects to C4D?

      python r20 • • bentraje
      14
      0
      Votes
      14
      Posts
      4.1k
      Views

      B

      Thanks for the confirmation @a_block

      Will hope for the best in the future regarding sublime

      Have a great a day ahead!

    • P

      Developing .obj sequence exporter for selected objects

      python • • Polyflow
      12
      0
      Votes
      12
      Posts
      3.7k
      Views

      B

      Probably not that helpful but there is an existing script for the C4D OBJ Sequence Exporter
      https://richh.co/c4d-native-obj-sequence-export-no-plugins/

    • R

      Set options when importing a file

      r20 python • • Rage
      2
      0
      Votes
      2
      Posts
      666
      Views

      M

      Hi @rage, you first have to configure the exporter plugin then Load the document/ Merge it.
      Cinema 4D will automatically use the settings you defined in the plugin.
      You can find examples of the procedure in our github repository.

      Finally, symbols for supported exporter/importer are exposed in this page of the Python documentation.
      Unfortunately, there is no area describing each symbol for each exporter in the python documentation, but you can find them using the search engine in the C++ documentation. (I linked you the C++ symbols of OBJ, import)

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