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. Tags
    3. r21
    Log in to post

    • All categories
    • B

      Written Description in the Documentation?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ r21
      2
      0 Votes
      2 Posts
      260 Views
      r_giganteR
      Hi @bentraje , thanks for pointing it out. We'll get it filled by a future documentation release. Best, Riccardo
    • M

      There is a bug and some issues in the inner extrude tool res/.h files (S22 and R21)

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      10
      1
      0 Votes
      10 Posts
      2k Views
      ManuelM
      hi, this will be fixed on the next update. Cheers, Manuel
    • CairynC

      doc.GetLayerObjectRoot().InsertFirst(layer) does not work.

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r21
      9
      2 Votes
      9 Posts
      985 Views
      M
      This is fixed in R23. Cheers, Maxime.
    • W

      How to run Python script at moment scene is opened?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20 r21
      4
      0 Votes
      4 Posts
      886 Views
      ManuelM
      hi, i'll set that thread to solved tomorrow without further feedback Cheers, Manuel
    • B

      How to Override DoubleClick() from the TreeViewFunctions?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      9
      0 Votes
      9 Posts
      1k Views
      B
      @m_magalhaes Thanks for the response. The confusion is entirely mine. I was confused because I initially thought the GetName and SetName is only for typical C4D objects. but there is actually a separate GetName and SetName functions for the TreeView objects. I was able to retrieve the new string by just this code: def SetName(self,root, userdata, obj, name): print name # new name when you hit enter I can now use the name variable to use in my separate renaming function (i.e. rename a folder for which the TreeView was based on). Thanks!
    • B

      Remove the Default CreateContextMenu in TreeViewFunctions?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      3
      0 Votes
      3 Posts
      368 Views
      B
      @m_magalhaes Thanks! It works as expected
    • B

      Implement A Rudimentary Licensing Solution?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      13
      0 Votes
      13 Posts
      1k Views
      B
      Thanks will close the thread for now.
    • B

      Unnecessary Executions Under BFM_INPUT_VALUE

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      5
      0 Votes
      5 Posts
      560 Views
      B
      @zipit Thanks for the confirmation!
    • B

      Changing Display Filter Does Not Work When Rendering?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      4
      0 Votes
      4 Posts
      462 Views
      ManuelM
      Hello, thanks for the answer by the way you could also clone the renderdata, modify the clone and send it to as a parameter to the function RenderDocument. That way, you don't have to "restore" them. Just in case, don't forget that data may not be saved in the BaseContainer. Cheers, Manuel
    • CairynC

      Still not possible to find out what's visible in the Timeline?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 c++ python
      19
      0 Votes
      19 Posts
      3k Views
      M
      The bug is fixed in R23. Cheers, Maxime
    • B

      SetActiveRenderData Does Not Work As Expected?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      3
      0 Votes
      3 Posts
      392 Views
      B
      @PluginStudent Thanks for the explanation. Your solution works as expected
    • M

      PolygonObject.SetSelectEdges() and the Neighbor() class, a giant dilemma

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      6
      0 Votes
      6 Posts
      1k Views
      M
      @m_adam said in PolygonObject.SetSelectEdges() and the Neighbor() class, a giant dilemma: ... Hope it answers your questions, Cheers, Maxime Thank you Maxime, this is a lot of useful info. Let me think through all of this and reply here if I have any further issues.
    • D

      Display data in the attribute manager that is not stored in the object base container

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      4
      0 Votes
      4 Posts
      916 Views
      M
      Hi @daniell welcome on the plugincafe forum, Don't worry since it's your first post, I've set up it correctly but please for the next one, make sure to read and apply the next rules: Q&A New Functionality. How to Post Questions especially tagging. Finally, regarding your issue, you may find relevant the NodeData::GetDParameter() Manual and NodeData::SetDParameter() Manual. Cheers, Maxime.
    • B

      Global Variable doesn't work on CoreMessage?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 python
      7
      0 Votes
      7 Posts
      985 Views
      M
      @bentraje I don't have that much to add on your topic since I think @zipit already explained everything nicely. In any case some good resource for you about how global variable works in Python Global keyword in Python and Mutable vs Immutable Objects in Python. Regarding your last question, I think you should open a new topic, but the short answer there is no way to pass directly a variable with a MessageData, the best way is to use a scope accessible by both part and store this variable in this shared scope (can be global or any other). Cheers, Maxime.
    • rsodreR

      Custom data+gui access with GetParameter()

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ r21 r20 r19
      6
      0 Votes
      6 Posts
      1k Views
      rsodreR
      @m_magalhaes No hurry, for now there's just one place where I need this, I get it using the BaseContainer. But I will probably use it more often, so if the DOTS example is updated I can replicate the solution to my own type and remove this workaround. Thanks!
    • fwilleke80F

      Draw HUD-like text to viewport

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r21 classic api
      12
      0 Votes
      12 Posts
      2k Views
      fwilleke80F
      Hm, not bad. In deed, it has the potential to look more like the "normal" HUD, without doing hacky stunts. And it is a bit faster than DrawMultipleHUDText(). However, even if I only draw 4 texts using this code, the framerate on my iMac is down to 24 fps (tested in R21). Using my own code, I get 127 fps. I'll see if it can be optimised more (e.g. by making the clip map a member of MyClass so it does not have to be allocated for every draw call. Cheers, Frank EDIT: And it gets slower in a linear way. drawing 4 texts only gives me 12 fps. So, it looked promising, and I thank you very much for the code, as it gives me some new inspiration on how to do text drawing in the viewport), but for what I need to do (drawing > 30 texts on average), it is not suitable.
    • C4DSC

      First Time calling SetAction does show the Brush tool's AM

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 r21 c++
      16
      0 Votes
      16 Posts
      2k Views
      C4DSC
      @m_adam said in First Time calling SetAction does show the Brush tool's AM: And I did test only on R21 so be sure to check again because I wasn't able to reproduce as you said with default layout in R21. Cheers, Maxime. I am using R21.207 and with default layout see the brush tool in the AM (identical to what happens with R20.059). For safety, I have now tested your solution on R21 and works as expected.
    • B

      Access Class B's function inside Class A?

      Watching Ignoring Scheduled Pinned Locked Moved General Talk r21 python
      5
      0 Votes
      5 Posts
      791 Views
      B
      @Cairyn @zipit @C4DS Thank you all for the responses. I ended up with @C4DS suggestion in using SpecialEventAdd() and CoreMessage for simplicity sake. Have a great day ahead!
    • B

      Treeview Creates An Extra Column?

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

      Isoparm in Deformer plugin

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 c++ r21
      12
      1 Votes
      12 Posts
      2k Views
      Danchyg1337D
      @r_gigante Thanks for your reply! You were absolutely right about checking input type. When i did a simple type check everything started to work as it should!