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. r20
    Log in to post

    • All categories
    • A

      About PopupEditText and SendMail

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 c++
      12
      0 Votes
      12 Posts
      3k Views
      M
      Hi @anoano I'm wondering if your question has been answered. If so, please mark this thread as solved. Cheers, Maxime.
    • P

      Flush a group in a non-main thread.

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 c++
      6
      0 Votes
      6 Posts
      2k Views
      P
      Hello. I have solved it by using SpecialEventAdd and sending a message to dialog's CoreMessage. Thank you.
    • P

      Get the real document in MATPREVIEW_GENERATE_IMAGE material message

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 c++
      4
      0 Votes
      4 Posts
      1k Views
      r_giganteR
      Hi Petros, in order to have the MATPREVIEW_PREPARE_SCENE being dispatched, you've to set MatPreviewObjectInfo::bNeedsOwnScene to true. At the same time also MatPreviewObjectInfo::bHandlePreview needs to be set to true when the host object is responsible for the rendering. Finally I think that looking at MATPREVIEW enums can be helpful as well. Best, Riccardo
    • R

      Recompiling a plugin for R20

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      5
      0 Votes
      5 Posts
      1k Views
      R
      Sorry for the lateness in replying to this. I was busy creating lots of python versions of my COFFEE scripts, for R20. I will now try to start porting my C++ plugins to R20. Thank you for all the links.
    • M

      Undo wanted - TransferGoal() and nested instances

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ r20 windows
      3
      1
      0 Votes
      3 Posts
      1k Views
      M
      Hey Maxime, thank you very much for the detailed explanation. Makes absolute sense now! It works perfectly now. I tried a similar approach, but I was adding the Undo in g_MakeInstanceEditable() per object - that was the main culprit. Cheers, Robert
    • Y

      Allocation of PrefsDialogObject

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      4
      0 Votes
      4 Posts
      2k Views
      M
      In your specific example, it could look like this: static maxon::Result<NodeData*> Alloc() { iferr_scope; return NewObj(SoloPrefs) iferr_return; } And when you construct your NodeDataclass, you have to access the actual value of maxon::Result: SoloPrefs::Alloc().GetValue(); Note, if that allocation fails that you can access the error with GetError(). There have changed lots of things, Sebastian already posted the links to the relevant documentation.
    • rsodreR

      Sampling effect channel shaders

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 c++ sdk
      11
      0 Votes
      11 Posts
      3k Views
      rsodreR
      Thanks Riccardo, I think we reached the bottom of this issue. I just finished implementing a workaround, getting the tag associated with the shader, it's polygon, points and uvw tag, then paint each face with the average vertex value in a bitmap using GeClipMat. Working really good! Best, Roger
    • H

      Adding Multiple Keyboard Shortcuts within a Python Script

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python sdk
      5
      0 Votes
      5 Posts
      3k Views
      M
      Hi @Hexbob6 I'm wondering if your question has been answered. If so, please mark this thread as solved. Cheers, Maxime.
    • SwinnS

      Update in UD link does not update object in Volume Builder Object List

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      5
      0 Votes
      5 Posts
      2k Views
      SwinnS
      @m_adam Cool. Thank-you for your time and patience.
    • mikeudinM

      Cinema 4D R20 (20026) GeDialog.SetLong, SetInt32 OverflowError

      Watching Ignoring Scheduled Pinned Locked Moved General Talk r20 python
      7
      0 Votes
      7 Posts
      3k Views
      Y
      Hi @mikeudin, I'm wondering if your question has been answered. If so, please mark this thread as solved. Cheers, Yannick
    • kbarK

      When can I display a dialog at startup?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ r20
      6
      0 Votes
      6 Posts
      2k Views
      kbarK
      Thanks Andreas. I will try Rick's trick again today. When I looked into it yesterday it didn't seem to work, but now I am wondering if perhaps it was visual studio locking the folders, and not actually C4D, since I was debugging at the time. I just tested renaming files manually (without running it through VS) and it was possible. I think Ricks dialog was done in Python, so he wouldn't have hit this VS issue. Fingers crossed it all works today.
    • P

      Null characters in txt file (ascii - utf?)

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ windows r20
      8
      1
      0 Votes
      8 Posts
      4k Views
      P
      Thanks very much. (There is so much information to be read!). -Pim
    • rsodreR

      Calling CommandData by name

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ python r19 r20
      5
      0 Votes
      5 Posts
      1k Views
      a_blockA
      Hi, just want to ask, if can consider this topic as solved. Bye, Andreas
    • SwinnS

      Volume Builder does not return object

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      10
      0 Votes
      10 Posts
      3k Views
      M
      Hi @Swinn are you sure in your script you define in line 19/20 settings[c4d.VOLUMETOMESHSETTINGS_ISO] = -5.51 settings[c4d.VOLUMETOMESHSETTINGS_ADAPTIVE] = 0.0 With the same value, you got in your volume mesher object? The voxel range threshold can't be directly passed as an argument, but you can expand this parameter in the volume mesher and then you get the Use Absolute Value (ISO) check box, which let you choose an ISO value. Cheers, Maxime.
    • rsodreR

      Cloned Surface Deformer data

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ r19 r20
      3
      0 Votes
      3 Posts
      1k Views
      rsodreR
      @s_bach sorry, forgot about the tags. I'm using C++ SDK on R19/R20. I try calling ExecutePasses(), thanks.
    • PixelsInProgressP

      R20 Startup script location - python_init.py

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      9
      1 Votes
      9 Posts
      4k Views
      T
      @m_adam said in R20 Startup script location - python_init.py: This will be fixed within a future release. Well, that's a relief then. Good to know. Thank you Maxime for the clarification. Kind regards, Tom
    • SwinnS

      Python SSL error

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      9
      0 Votes
      9 Posts
      2k Views
      orestiskonO
      @m_adam Thanks Maxime, I'll check that out. The customer was using R23.110
    • P

      maxon::Loggers::PythonConsole

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK c++ windows r20 sdk
      4
      0 Votes
      4 Posts
      1k Views
      P
      Great, thank you.
    • eggtionE

      R20 ignores language/stringtable

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python r20
      3
      0 Votes
      3 Posts
      1k Views
      eggtionE
      That's it! Thank you so much, mp5gosu! Cheers, Mark.