The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
  • Reading proper decimal values on lower numbers?

    Moved r20 python
    4
    0 Votes
    4 Posts
    1k Views
    ManuelM
    Hello, Thanks again @zipit for the fast and nice reply I also move this thread to general programming as it's not related to Cinema 4D Cheers, Manuel
  • Cinema tools local development, control and deployment

    Moved
    9
    0 Votes
    9 Posts
    2k Views
    A
    @m_magalhaes said in Cinema tools local development, control and deployment: And if you find something in your side, sharing that would be awesome. Absolutely!
  • 1 Votes
    3 Posts
    1k Views
    J
    @m_adam Thank you very much ! it is certainly helpful !!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Where to start to create an plug-in?

    2
    0 Votes
    2 Posts
    542 Views
    r_giganteR
    Hi hhgemalmaz and thanks for reaching out us. With regard to your question I warmly suggest to read the Cinema 4D C++ documentation get familiar more specifically with the Getting Started topics download the Project Tool[URL-REMOVED] used to create specific IDE solutions/projects for the different projects provided with the sdk archive shipped with Cinema 4D. unarchive the sdk.zip in your preferred folder execute kernel_app_64bit.exe g_updateProject=<your full path to sdk> open the solution in your IDE build the examples shipped in the sdk.zip archive. If your Cinema 4D version is older than R20, then you can skip steps 3, 4 and 5 since solution files and API folder are already available in Cinema 4D installation path. Best, Riccardo [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
  • Getting the State of Modifier Keys (ctrl/cmd, shift, alt)

    Moved python
    5
    1 Votes
    5 Posts
    1k Views
    ManuelM
    I'm not sure it's a bad habit or what's the difference. There's maybe type conversion, i don't know. Or maybe with the code optimization there's no difference at the end. I just wanted to add my 2 cents to have bool and not value xD Cheers Manuel
  • Example CreateRay()

    c++
    7
    0 Votes
    7 Posts
    2k Views
    WickedPW
    @m_magalhaes all good my end! Am interested to see the further example when available (if nothing else, just to add it to my examples kitty!). Cheers, WP.
  • Z Depth R20

    Moved
    2
    0 Votes
    2 Posts
    655 Views
    S
    Hello, this is a support forum for plugin developers (About This Forum). For general questions on how to use Cinema 4D you might want to consult a more general user forum like c4dcafe.com or forums.cgsociety.org best wishes, Sebastian
  • Accessing Octane node editor with python

    Moved r20
    5
    0 Votes
    5 Posts
    3k Views
    S
    @Graeme Thank you very much! @r_gigante Will do, thanks.
  • Python module Inspect don't showing updated code

    2
    0 Votes
    2 Posts
    640 Views
    r_giganteR
    Hi @mikeudin, thanks for reaching out us. With regard to your request, although it's not expected it to work inside the Cinema 4D Script Manager you can get it properly working using the c4dpy executable (here's the 20.059 compatible version[URL-REMOVED]) as much as you do on the Python Shell or on SublimeText console as you can see from the log below. $ more test.py import inspect # Save this code as script py-file and start def main(): code = inspect.getsource(main_new) # place function code to str variable print code # print code text. Works on Python Shell, but not in C4D Scripts Manager def main_new(): # This is a comment # New comment string # Change this code, to check the console output pass if __name__ == '__main__': main() $ ./c4dpy.app/Contents/MacOS/c4dpy test.py def main_new(): # This is a comment # New comment string # Change this code, to check the console output pass $ Best, Riccardo [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
  • Registering controller's events from within C4D

    4
    0 Votes
    4 Posts
    964 Views
    intenditoreI
    Sorry for late reply, there was an issue with my account. Many thanks for comprehensive answers. The topic looks kind of mind bending now, not much easier than after I realised Api doesn't really have what I expected to have for the task accomplishment Now I think the better way might be to simulate the mouse over the viewport, so it will be an independent app which will only need from the Cinema to know where the viewport is. That seems easier I hope. When my research or development will reach some success I will share what I learned here, maybe it will be handy for somebody else. Thanks once more!
  • Use the Variable Name as an Argument

    4
    0 Votes
    4 Posts
    885 Views
    B
    @Cairyn and @m_magalhaes Thanks for the responses. The dictionary route seems like a good workaround. I think I'm going with it. Have a great day ahead!
  • Melting Edges

    3
    0 Votes
    3 Posts
    746 Views
    R
    Thank you so much. I was thinging that I had to provide an edge index. Never thought that it would just require to select the points that define the edges. Great!!!
  • Get selected parameters from Attribute Manager, Python

    python
    2
    0 Votes
    2 Posts
    681 Views
    r_giganteR
    Hi kurzemnieks, thanks for reaching out us. With regard to your question, I confirm that it's actually not possible because Attribute Manager Window functionality are not exposed in the API and, additionally, being possible to open multiple Attribute windows at the same time with multiple items highlighted belonging to different object makes the parameter selection not connected to the object. [image: 1558687886248-f8a5865c-2fa2-40d4-9022-7199a8a6e3b3-image.png] Best regards, Riccardo
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Move just the axis of a polygonal object

    10
    0 Votes
    10 Posts
    2k Views
    ManuelM
    hi, when you will be sure that it's solved, don't forget to mark this thread as solved please. Cheers Manuel
  • is there a market to sell my plugin?

    Moved
    4
    0 Votes
    4 Posts
    2k Views
    ManuelM
    hello, if you don't have anything else to add, i'll mark this topic as "solved" Cheers Manuel
  • Use a list or array for data?

    python
    5
    1
    0 Votes
    5 Posts
    2k Views
    ManuelM
    hello, if you don't have anything else to add, i'll mark this topic as "solved" Cheers Manuel
  • MographToNulls available for free as a Python scripting tag

    Moved
    4
    0 Votes
    4 Posts
    1k Views
    jochemdkJ
    OK, I feel pretty stupid now... I was so busy with the specific way I used the script in the past, I forgot about the animation part So, I'll try to find some time soon to get the code up and running for animation. So my main function will be larger than "pass"
  • Get a simple polygonal version of any object

    4
    0 Votes
    4 Posts
    1k Views
    S
    Hello, Polygonize() is just using SendModelingCommand() with MCOMMAND_CURRENTSTATETOOBJECT. You can actually see the C++ source in c4d_basedocument.cpp in the cinema.framework. But I don't think that this commands merges all objects into one polygon object. best wishes, Sebastian