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

    • All categories
    • P

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

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      5
      0 Votes
      5 Posts
      1k 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.
    • P

      Toggle knife cut planes

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      4
      0 Votes
      4 Posts
      811 Views
      ManuelM
      i forgot to mention: For your next threads, please help us keeping things organised and clean. I know it's not your priority but it really simplify our work here. Q&A New Functionality. How to Post Questions especially the tagging part. I've added the tags and marked this thread as a question so when you considered it as solved, please change the state Cheers, Manuel
    • ?

      Bug with GetLink/SetLink & Hyperfile

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK sdk python
      3
      1 Votes
      3 Posts
      456 Views
      ?
      My apologies: I didn't understand how BaseLink worked and this clarified things. Thank you!
    • CairynC

      SetBit vs. SetAllBits etc... flags documentation?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      3
      0 Votes
      3 Posts
      450 Views
      CairynC
      @m_adam Thanks for the info! I knew I was still missing a few flags
    • A

      Why ToolData Plugin Not Keeping the Input Data Values to the GUI Widgets SubDialog?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r21 r19
      4
      0 Votes
      4 Posts
      1k Views
      ManuelM
      hi, thanks a lot for sharing your code Don't forget to change the state of this thread to solved. (if it is) cheers, Manuel
    • KantroninK

      Welding point for a polygon

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      2
      0 Votes
      2 Posts
      634 Views
      r_giganteR
      Hi Kantronin, thanks for reaching out us and welcome to PluginCafé. To make Cinema 4D programatically executing modeling commands, you can make use of SendModelingCommand which properly satisfy your scope. Aside from the example shown in the documentation you can also have a look at this post from @maxime and this other post about Optimize command. Last but not least be aware that the modeling command settings are specified in the BaseContainer passed to the SendModelingCommand and whose parameters can be found in the MCOMMAND page. Finally please remind to use Tags and Ask as a question for any future support entries
    • H

      Are PluginStart() and PluginEnd() only for C++ plugins?

      Watching Ignoring Scheduled Pinned Locked Moved General Talk python r21
      4
      0 Votes
      4 Posts
      1k Views
      H
      Ok, got it. Thank you for your reply and clear explanation, r_gigante, much appreciated!
    • D

      c4dpy + Atom

      Watching Ignoring Scheduled Pinned Locked Moved General Talk python
      4
      0 Votes
      4 Posts
      921 Views
      D
      OK, thanks a lot for the quick answer! Cheers
    • P

      FieldList.GetCount Bug

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 r20 r19 python
      2
      0 Votes
      2 Posts
      715 Views
      M
      Hi @pyr, I've just reached the development team about it. So for them, this is not a bug since FieldList store only baseLink. In Python, we don't have BaseLink, but if you are not aware of what it is, please read BaseLink Manual. But since there is no BaseLink in Python, if a link points to a destructed object (like in your case, Python simply returns None) So I guess your workaround is ok. Cheers, Maxime
    • gheyretG

      BaseBitmap.ScaleIt() IS NOT WORKING

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      3
      1
      0 Votes
      3 Posts
      396 Views
      gheyretG
      @C4DS Thank you for your help! It works! Cheers~
    • B

      Content Browser Like Navigation?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      3
      0 Votes
      3 Posts
      781 Views
      B
      @r_gigante Thanks for the reference. For anyone trying to achieve the same, here is a sample file. https://www.dropbox.com/sh/z1lzyphp8qnt9kw/AAB2P5gNo16IHafgc6xPEsy4a?dl=0 Thanks again for @zipit for the help.
    • P

      Changing font size.

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      4
      0 Votes
      4 Posts
      682 Views
      P
      Great example, thank you. -Pim
    • ?

      Keyframing UserData with Value Tracks

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python sdk
      5
      3
      0 Votes
      5 Posts
      692 Views
      ?
      @m_adam You are a genius! Thank you, Maxime
    • lasselauchL

      SetData() with FindCustomGui / CUSTOMGUI_BITMAPBUTTON

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      4
      0 Votes
      4 Posts
      867 Views
      ManuelM
      @lasselauch said in SetData() with FindCustomGui / CUSTOMGUI_BITMAPBUTTON: there's no way to flush a single Element and insert at that position, right? It has to be a group For what I know, correct. Cheers, Manuel
    • dskeithbuckD

      Best Practices for Reporting Errors to Users?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      4
      0 Votes
      4 Posts
      1k Views
      dskeithbuckD
      @s_bach & @zipit - Thank you both for the thoughtful replies! I think I'll opt for the status bar for most user-facing feedback, and console logging for anything bigger. Watching the "What could possibly go wrong?" talk now.
    • ?

      Selecting the text in a GeDialog MultiLineEditText

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      3
      1 Votes
      3 Posts
      477 Views
      ?
      @m_adam You know so much! Thank you for the example code. You have helped me so much, Maxime, particularly on my current project. I am very grateful!
    • pyxelriggerP

      how is it possible to check if the object is being "opened"? with python

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20 r19 r21
      11
      1
      0 Votes
      11 Posts
      2k Views
      r_giganteR
      Well @pyxelrigger thanks for clarifying the final scope. Since, as already stated, folding or unfolding a scene entry doesn't generate any valuable message to be intercepted, the sole - brute force - hack you might try to implement in Python would be to implement a MessageData plugin which constantly checks for the folded/unfolded state of the entries in the scene and eventually delete the unfolded one. This approach carries strong performances penalties to the whole Cinema 4D UI because you need to constantly traverse the scene and depending on the scene size this could strongly affect Cinema performances. If there are no further question please mark the thread as solved. Best, R
    • B

      AddEditNumberArrows Stops Working on Keyed objects

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      12
      0 Votes
      12 Posts
      2k Views
      ManuelM
      hi, no trouble at all, you are here to ask questions, we are here to answer. Cheers, Manuel.
    • B

      How to Check If you are in a Specific Tab?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      3
      0 Votes
      3 Posts
      387 Views
      B
      @m_adam Thanks. Works as expected.