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.
  • PluginsHelpDelegate Info

    r21 r20 c++
    6
    0 Votes
    6 Posts
    870 Views
    ManuelM
    hi, there's nothing more to do in R21/S22, you should maybe post your project to see if there's something wrong. Cheers Manuel
  • Cross platform screencapture code

    5
    0 Votes
    5 Posts
    799 Views
    M
    Hi @C4DS, just to confirm that there is nothing built-in Cinema 4D. For python most of the library in the end only reroutes through OS call and does have a system dependant call, so you will probably end with something like that also in C++. Cheers, Maxime.
  • Render to texture transfer for C4D

    1
    2 Votes
    1 Posts
    1k Views
    No one has replied
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    18 Views
    No one has replied
  • Python script for Rectangle Selection with options

    4
    0 Votes
    4 Posts
    722 Views
    T
    Hi Manuel and @rb_rodrigo, Many thanks for the tips about the Python console and help with the code. I'm a beginner (not even that!) in scripting, so much appreciated. It works as expected now! Cheers, Frederik
  • Setting coordinates for selected faces (Python - Beginner)

    python
    9
    0 Votes
    9 Posts
    2k Views
    M
    You could also retrieve the current matrix of the gizmo with BaseObject.GetModelingAxis. Cheers, Maxime
  • Flock Modifier

    8
    0 Votes
    8 Posts
    2k Views
    fwilleke80F
    I didn't take it as rude, don't worry
  • Cinema 4D S22 Bevel tool issues.

    5
    1
    0 Votes
    5 Posts
    1k Views
    M
    Hi @Muokkaa, unfortunately, I wasn't able to reproduce, so I suggest you send a bug report with a file to the user support https://support.maxon.net/open.php. This forum is about SDK and plugin development for Cinema 4D, no general Cinema 4D support. Cheers, Maxime.
  • Cinema4D S22 Debian user experiences?

    7
    1 Votes
    7 Posts
    2k Views
    I
    Hello everyone. Will be ever C4D for Linux with GUI from Maxon? Not wine emulation. Sometimes want to switch linux.
  • SDK examples at Linux

    4
    1
    0 Votes
    4 Posts
    867 Views
    I
    There are successful builds at CentOS-7.8.2003 by gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) But i use project tool for R20. Last project tool(S22) asks me libprocs 6. At Ubuntu - normally [image: 1588109894941-centos7.png]
  • escape unicode characters in filepath

    7
    0 Votes
    7 Posts
    1k Views
    M
    Hi, @lasselauch as a rule of thumb with Python2.7 always store data as a Unicode string. Control your IO which means, for each, Input make sure you know the encoding in all cases by always calling .decode('utf-8') so you are sure to store a Unicode value and get an error if something went wrong at a loading time. Then output the content according to your need some need ASCII, some can work with unicode, but do the conversion on the fly, don't touch you stored Unicode data. For the francophone people, there is this fabulous article about unicode Encoding in Python for English I guess the best I found on this topic is A Guide to Unicode, UTF-8, and Strings in Python. Cheers, Maxime.
  • Python tag - IsDirty() not working?

    11
    0 Votes
    11 Posts
    2k Views
    intenditoreI
    @m_adam thank you, that's really confusing..
  • Batch Processor: plugin for python scripts developers

    5
    1
    4 Votes
    5 Posts
    2k Views
    mikeudinM
    @m_adam Thank you!
  • Python Plugin Unicode Convert

    python
    4
    0 Votes
    4 Posts
    746 Views
    M
    Just to add on top, os.path.listdir and os.path.join in python 2 are context-specific, so if you input a Unicode string it will output a Unicode string, if you input a regular string it will output a regular string. Now the culprit is on c4d.documents.MergeDocument because normally this method accepts a C++ Filename object (which is the Classic API that under the hood uses the new MaxonAPI maxon::Url). Unfortunately, the Python parser is not able to convert from a Python Unicode string to a C++ Filename, but only from a Python ASCII string to a filename. So indeed casting from Unicode string to ASCII is the solution. Cheers, Maxime.
  • Missing Library

    c++ r20
    3
    0 Votes
    3 Posts
    583 Views
    Danchyg1337D
    Thank you!
  • VRayToC4D Material Converter

    Moved
    2
    0 Votes
    2 Posts
    608 Views
    r_giganteR
    Thanks @kosmos3d for the contribution and making the whole community aware of it. Best, R
  • Beginner Programmer C++ Libraries Needed for starting first plugin?

    7
    0 Votes
    7 Posts
    1k Views
    G
    Hey Richard! Thank you for the response, I have VS2017 version 15.9 all set up now, I think..... haha. I can see all the solutions in VS as well, but I ran the powersheel commands without having 2017 installed and I could see them in 2019, do I need to re-run the command or is it on the compile side that 2017 is the right version? I've been reading through all that documentation and I have seen the resources on Git as well so thanks for helping me understand I'm looking in the right spots haha! Thanks for the help so far, I'm sure I'll be back soon with more questions haha! Cheers! MattG
  • Trouble With Expression Editor

    6
    0 Votes
    6 Posts
    887 Views
    R
    Bringing the viewport into focus worked... wow, I had a feeling it was something simple like that!
  • Discussions about spline ik

    10
    0 Votes
    10 Posts
    2k Views
    chuanzhenC
    @zipit Thanks,this paper Parallel Transport Approach to Curve Framing I will follow your suggestion to explore RMF. It may be that the language barrier prevents us from communicating well, but I still get a lot of help from your answer. I use Google translate
  • Modeling Kernel Error : Invalid Object

    2
    0 Votes
    2 Posts
    505 Views
    ManuelM
    Hello and welcome to the forum, 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 marked this thread as a question so when you considered it as solved, please change the state In your code you Resize the object after initialized for the modeling command. That's why. but probably a simpler way to achieve what you want is to access the polygon's data. The PolygonObject is inherit from PointObject where you can retrieve the pointer of the points' vectors with GetPointW sometthing like so will work Vector* padr{ pol->GetPointW() }; if (padr == nullptr) return maxon::NullptrError(MAXON_SOURCE_LOCATION); padr[3] = Vector(-2, 0, 0); You can have a look at our "roundtube" example in the sdk.zip file that ship with every Cinema 4D version. This example will show you how to create a primitive from scratch. Cheers, Manuel.