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

      List of all Cinema 4D IDs?

      r21 sdk python • • A Former User
      5
      0
      Votes
      5
      Posts
      662
      Views

      ?

      @m_adam Thank you for the clarification and the code example, Maxime!

    • mfersaouiM

      How to calculate a rectangle corners position depending on her rotation

      c++ python • • mfersaoui
      6
      0
      Votes
      6
      Posts
      1.0k
      Views

      mfersaouiM

      @zipit
      Hi, Thank you so much.

    • P

      def Message - What Message is triggered when an Object is created or moved in the hierarchy.

      • • Pryme8
      5
      0
      Votes
      5
      Posts
      826
      Views

      P

      Thank you so much! This helps me a lot with the understanding of what was going on. I am digging back into my work on this today and will follow up with your advice.

    • CairynC

      NBIT xHIDE visibility flags - THIDE deprecated?

      c++ python r21 • • Cairyn
      7
      0
      Votes
      7
      Posts
      713
      Views

      CairynC

      Thanks, it's good to know that there are internal functionalities actually using these flags!

    • C

      Performance Issue with Symmetry - and other

      • • chakuew0
      2
      0
      Votes
      2
      Posts
      404
      Views

      M

      Hi @chakuew0, plugincafe is only a support for Cinema 4D API and SDK, and I don't see in any way how your question is related to the API, but more an issue within Cinema 4D.

      So please contact the Cinema 4D support for all no related API questions in this page.

      Cheers,
      Maxime.

    • P

      Best plugin type for background (thread) processing?

      r20 python • • pim
      16
      0
      Votes
      16
      Posts
      3.0k
      Views

      M

      Since this topic is older than a week I marked is as closed, but feel free to reopen it if you have further questions.

      Cheers,
      Maxime

    • esanE

      Connect + Delete groups iteratively

      python r20 • • esan
      5
      0
      Votes
      5
      Posts
      1.3k
      Views

      ManuelM

      hello,

      I'will consider this thread as solved tomorrow if you have nothing to add 🙂

      Cheers,
      Manuel

    • P

      GetId() returns a long and not a int!

      r21 python • • pim
      5
      0
      Votes
      5
      Posts
      607
      Views

      P

      Great, thank you.

    • P

      Did something change in the Bevel operation after R21.026?

      python r21 • • pim
      9
      0
      Votes
      9
      Posts
      1.3k
      Views

      ManuelM

      hi,

      must be monday, sorry,

      the 21.207 IS the current last public version (and after another test, the bug is definitely there). It's already out 🙂

      the next update we can't tell what and when.

      Cheers,
      Manuel

    • ?

      How to prevent a LinkBoxGui from accepting an object?

      python • • A Former User
      4
      0
      Votes
      4
      Posts
      450
      Views

      ?

      @PluginStudent Thanks for the idea of how to solve this! I was doing what you described before posting my example, but probably making it too complicated. The documentation for the Link gadget describes the pointer LINKBOX_ACCEPT_MESSAGE_ACCEPT as 'A pointer to a boolean value. Set this value to true to accept the object.' so that sounded like what I needed. I've rewritten the approach you described and have it seemingly working.

    • ?

      Logging in Cinema 4D

      sdk python • • A Former User
      4
      0
      Votes
      4
      Posts
      1.1k
      Views

      M

      Hi @blastframe unfortunately for the moment is not possible to implement its own logger in python.

      However, you could use any existing loggers.

      Here an example that writes into the Application (Default) Logger.

      import maxon txt = "My Wonderfull Text" defaultLogger = maxon.Loggers.Default() defaultLogger.Write(maxon.TARGETAUDIENCE.ALL, txt, maxon.MAXON_SOURCE_LOCATION(1), maxon.WRITEMETA.DEFAULT)

      Note that the print simply reroutes to the Python logger. But it can be useful to directly use the logger to write if you pass the write meta maxon.WRITEMETA.UI_SYNC_DRAW this way you can force a redraw of the console (slower) after each print, this can be used to avoid the limitation mentioned in the second part of this post.

      Cheers,
      Maxime

    • D

      I want to use C + + to implement GUI. Messagedialog(‘no sel’) in Python I don't know how to start

      sdk c++ • • dada
      6
      0
      Votes
      6
      Posts
      717
      Views

      D

      @m_magalhaes Thank you

    • ?

      How to use STRINGTABLE with a Python Command Plugin

      sdk python • • A Former User
      7
      0
      Votes
      7
      Posts
      812
      Views

      P

      I don't think there are any official "tools". But the docs describe how to handle unicode (Dialog Layout😞

      The encoding is 7-bit ASCII with other characters encoded as \uHHHH. For example 'Natürlich' is written 'Nat\u00fcrlich'. Byte-order marks are not used.

    • C4DSC

      Blit to MultipassBitmap GeClipMap not working

      r20 c++ • • C4DS
      15
      0
      Votes
      15
      Posts
      1.7k
      Views

      C4DSC

      @r_gigante
      While doing some code cleanup to add new features to a plugin, I noticed some comments regarding this particular topic. The comment mentioned the need for a workaround since the Blit() functionality on Windows was faulty.

      Problem with Blit() and MultipassBitmap still occurs after switching to Visual Studio 2017, Windows 10, running R20.059

    • mfersaouiM

      Create a circle with specific area size.

      python • • mfersaoui
      3
      0
      Votes
      3
      Posts
      541
      Views

      mfersaouiM

      @PluginStudent
      Thank you.

    • N

      DistanceQuery

      c++ r20 sdk • • NesNes
      3
      0
      Votes
      3
      Posts
      468
      Views

      N

      thank you so much!!

    • indexofrefractionI

      glTF Exporter

      • • indexofrefraction
      2
      0
      Votes
      2
      Posts
      349
      Views

      r_giganteR

      Hi Index, thanks for reaching out us.

      I confirm that the development is on supporting glTF is continuing. Stay tuned!

      Best, R

    • M

      Python: store the original pointindex in list - insert() wrong usage ?

      python • • mogh
      6
      0
      Votes
      6
      Posts
      517
      Views

      M

      Thanks Both of you @zipit @m_adam ,

      Quote: "keep in mind coping data is expensive"

      I had the feeling that the very nice example I am building on has some limitations (speed) as you mentioned.
      I guess I have to re organice this section (selecting points) and clean up.

      My aproach as a beginner is more or less like this.

      try get it to work anyhow try to understand it by cleaning try to make a compact function so it doesn't break my code everytime i touch it ...

      I have an old C++ code as an cheat sheet to get a general idea how a perfomant code could look like (selecting & working just inside one big point object list, as far as I understand it) ,
      but at this stage I can't combine them jet hence the different selecting aproach.

      Anyway I try to get somethingmore robust ...

      Thank you for your time.
      mogh

    • SwinnS

      Force refresh Xpresso

      python r21 • • Swinn
      13
      0
      Votes
      13
      Posts
      2.7k
      Views

      SwinnS

      Yes, Thanks. 🙂

    • kbarK

      This topic is deleted!

      • • kbar
      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied