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
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. Tags
    3. python
    Log in to post

    • All categories
    • mfersaouiM

      Create a circle with specific area size.

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      3
      0 Votes
      3 Posts
      579 Views
      mfersaouiM
      @PluginStudent Thank you.
    • M

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

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      6
      0 Votes
      6 Posts
      520 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
    • A

      Custom exporting animation data into aec file crashes Cinema

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r19 python
      9
      0 Votes
      9 Posts
      1k Views
      A
      @m_magalhaes Hi Manuel, Thank you for giving me some time to check this out. So after a bit of testing and changing the code to work with Cinema I cannot replicate the issue. As you mention it seems to be related to Pyblish. I did find interesting that when running the code in Cinema without Pyblish you can't see the active frame running through the timeline, while you do see it when running through Pyblish. Perhaps that's the correlation with the crash. I will close this as solve, for the fact that it does not crash in the Cinema context. Thanks again! Andre
    • S

      Baking MoGraph color animation to keyframes.

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      6
      0 Votes
      6 Posts
      2k Views
      ManuelM
      hi, I will mark that thread as resolved tomorrow if you don't have anything to add Cheers, Manuel
    • ?

      Logging in Cinema 4D

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK sdk python
      4
      0 Votes
      4 Posts
      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
    • ?

      How to prevent a LinkBoxGui from accepting an object?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      4
      0 Votes
      4 Posts
      451 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.
    • mfersaouiM

      Dynamic automated handle interface

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      7
      0 Votes
      7 Posts
      1k Views
      ManuelM
      hi, I will mark this thread as solved tomorrow. Cheers, Manuel
    • B

      Access Clone of Cloners?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      6
      0 Votes
      6 Posts
      1k Views
      ManuelM
      hi, tomorrow, I will consider that thread as solved without further news. Cheers, Manuel
    • P

      GetId() returns a long and not a int!

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      5
      1
      0 Votes
      5 Posts
      616 Views
      P
      Great, thank you.
    • P

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

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r21
      9
      2
      0 Votes
      9 Posts
      1k 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
    • ?

      List of all Cinema 4D IDs?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 sdk python
      5
      0 Votes
      5 Posts
      667 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

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ python
      6
      0 Votes
      6 Posts
      1k Views
      mfersaouiM
      @zipit Hi, Thank you so much.
    • SwinnS

      Force refresh Xpresso

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r21
      13
      1
      0 Votes
      13 Posts
      3k Views
      SwinnS
      Yes, Thanks.
    • lasselauchL

      Design Choices for shared variables across Plugins & Classes

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      4
      0 Votes
      4 Posts
      679 Views
      ManuelM
      hello, I will consider this thread as solved without new information from you Cheers, Manuel
    • ?

      Object Links in GeDialog

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK sdk python
      1
      1
      0 Votes
      1 Posts
      171 Views
      No one has replied
    • jcooperJ

      Making Houdini Engine visible to C4D via Python

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      4
      0 Votes
      4 Posts
      921 Views
      jcooperJ
      @r_gigante Perfect! Worked like a charm. Thank you.
    • K

      Rendering render queue on program startup

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      6
      0 Votes
      6 Posts
      886 Views
      Z
      Hi @karol_w! This is exactly what I am looking for, because Octane keeps crashing on me. Unfortunately, I am not very good with coding. Is there any chance you would share your plug-in? Or point me towards where to find resources to build that myself? Thank you very much!
    • ?

      Listing All Renderers

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      5
      1
      0 Votes
      5 Posts
      554 Views
      ?
      @m_adam You are a genius - I am in awe! Thank you everyone for the help!
    • CairynC

      NBIT xHIDE visibility flags - THIDE deprecated?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ python r21
      7
      0 Votes
      7 Posts
      722 Views
      CairynC
      Thanks, it's good to know that there are internal functionalities actually using these flags!
    • ?

      GeUserArea Tool Tips

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      5
      1
      0 Votes
      5 Posts
      610 Views
      ?
      @m_adam & @PluginStudent Thank you both! This was exactly what I needed. This forum is so so helpful.