<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with s26]]></title><description><![CDATA[A list of topics that have been tagged with s26]]></description><link>http://developers.maxon.net/forum/tags/s26</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 11:38:08 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/tags/s26.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[ColorField&#x2F;ColorDialog and GeUserArea – Color Space Questions]]></title><description><![CDATA[Thank you, Ferdinand. (Again!) 
That was exactly what I needed. It's working great now!
Thanks for taking the time to answer this so thoroughly and quickly!
Cheers,
Lasse
]]></description><link>http://developers.maxon.net/forum/topic/16364/colorfield-colordialog-and-geuserarea-color-space-questions</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/16364/colorfield-colordialog-and-geuserarea-color-space-questions</guid><dc:creator><![CDATA[lasselauch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Plugin does not appear in Expression on client&#x27;s Cinema 4D]]></title><description><![CDATA[Oh, you've edited your previous message! Thanks! I will try it.
]]></description><link>http://developers.maxon.net/forum/topic/16080/plugin-does-not-appear-in-expression-on-client-s-cinema-4d</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/16080/plugin-does-not-appear-in-expression-on-client-s-cinema-4d</guid><dc:creator><![CDATA[yaya]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Image Viewer API]]></title><description><![CDATA[@i_mazlov Thanks for the reply. I may have described it wrong. I am talking about the image viewer. It seems that there is currently no API interface to get the number of frames rendered, nor can I get the total number of frames in the rendering settings.
]]></description><link>http://developers.maxon.net/forum/topic/16013/image-viewer-api</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/16013/image-viewer-api</guid><dc:creator><![CDATA[kmhfygg]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Displacer Deformer with Mograph Camera Shader not working]]></title><description><![CDATA[Hello,
Thanks for your complete answer.
I think I will not start in thread management, but opted for your last solution which will still go through an external image but in an automated way by a python script.
Thanks again.
]]></description><link>http://developers.maxon.net/forum/topic/15940/displacer-deformer-with-mograph-camera-shader-not-working</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15940/displacer-deformer-with-mograph-camera-shader-not-working</guid><dc:creator><![CDATA[bioquet]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to Swap location in Object Manager]]></title><description><![CDATA[@ferdinand Thank you very much for your reply
]]></description><link>http://developers.maxon.net/forum/topic/15802/how-to-swap-location-in-object-manager</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15802/how-to-swap-location-in-object-manager</guid><dc:creator><![CDATA[pchg]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to obtain the color of each ball in each frame]]></title><description><![CDATA[Hello @pchg,
Thank you for reaching out to us. Please note that we normally expect question to be accompanied by code. It is also still unanswered in which context you want to do this: As an effector, as a Script Manager script, etc.
Cheers,
Ferdinand
Result
[image: 1730718564670-347fc2f0-a0cd-4583-816b-b3e38fda2280-image.png]
Code
"""Reads out the particle data of a MoGraph Cloner object.

Must be run as a Script Manager script in Cinema 4D with a MoGraph Cloner object selected.
"""
import c4d

doc: c4d.documents.BaseDocument  # The currently active document.
op: c4d.BaseObject | None  # The primary selected object in `doc`. Can be `None`.

def main() -&gt; None:
    """Called by Cinema 4D when the script is being executed.
    """
    if not op or not op.CheckType(c4d.Omgcloner):
        raise ValueError("Please select a MoGraph Cloner object.")
    
    # Get the particle data from the cloner object.
    data: c4d.modules.mograph.MoData = c4d.modules.mograph.GeGetMoData(op)
    if data is None:
        return
    
    # Get the transform and color data for the particles.
    matrices: list[c4d.Matrix] = data.GetArray(c4d.MODATA_MATRIX)
    colors: list[c4d.Vector] = data.GetArray(c4d.MODATA_COLOR)

    # Iterate over all particle data and do something with it. If we were in an effector, we could
    # also write back data. Technically, we could also write back data here, but it would be volatile.
    for i in range(data.GetCount()):
        matrix: c4d.Matrix = matrices[i]
        color: c4d.Vector = colors[i]
        print(f"Particle {i} at {matrix.off} with color {color}")


if __name__ == '__main__':
    main()

And here is the 2024.0.0 effector full control mode default code which more or less is very similar but also writes data.
"""Realizes an effector that attracts MoGraph particles spherically around its origin.

Add the example to a Matrix object to understand its effect. In Full Control mode we can realize
a true attraction force as we have full control over the particle values. Compare this example to
Parameter Control mode to understand the difference.
"""
import c4d

op: c4d.BaseObject # The Python Effector object containing this code.
gen: c4d.BaseObject # The MoGraph Generator executing `op`.
doc: c4d.documents.BaseDocument # The document `op` and `gen`are contained in.

def main() -&gt; bool:
    """Called by Cinema 4D to evaluate the effector.
    """
    # Get the particle data for the effector #op. Get out when either the data cannot be retrieved.
    data: c4d.modules.mograph.MoData = c4d.modules.mograph.GeGetMoData(op)
    if data is None:
        return 1.0

    # The transform of both the generator and the effector, the transforms of all particles, and
    # finally the position of the effector as if it would live in the coordinate system of the
    # generator.
    mgGen: c4d.Matrix = gen.GetMg()
    mgEff: c4d.Matrix = op.GetMg()
    matrices: list[c4d.Matrix] = data.GetArray(c4d.MODATA_MATRIX)
    q: c4d.Vector = ~mgGen * mgEff.off

    # For each particle compute a weight `w` for how much the particle should be attracted to the
    # attraction point `q`, and then blend the particle position between the attraction point and
    # its own position `p`.
    for i in range(data.GetCount()) :
        p: c4d.Vector = matrices[i].off
        w: float = c4d.utils.RangeMap((mgGen * ~mgEff * p).GetLength(), 0., 100., 0., 1., True) ** 3.
        matrices[i].off = c4d.utils.MixVec(q, p, w)

    # Write the new data back.
    data.SetArray(c4d.MODATA_MATRIX, matrices, op[c4d.FIELDS].HasContent())
    return True

]]></description><link>http://developers.maxon.net/forum/topic/15796/how-to-obtain-the-color-of-each-ball-in-each-frame</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15796/how-to-obtain-the-color-of-each-ball-in-each-frame</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to modify the index]]></title><description><![CDATA[@ferdinand Thank you for your reply
]]></description><link>http://developers.maxon.net/forum/topic/15795/how-to-modify-the-index</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15795/how-to-modify-the-index</guid><dc:creator><![CDATA[pchg]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[RenderDocument&#x2F;PythonCallBack : how to display progress prints during the render]]></title><description><![CDATA[Oh,
my bad, I did overlook that you flagged this as S26. Yes, mxutils is a 2024+ feature. I used it here to carry out type checks, e.g., that a document or bitmap are not null/none. The code will run without them, but it will fail more gracefully with these checks.
You could replace these calls with manual checks:
bmp: c4d.bitmaps.BaseBitmap = c4d.bitmaps.MultipassBitmap(
    int(rData[c4d.RDATA_XRES]), 
    int(rData[c4d.RDATA_YRES]), 
    c4d.COLORMODE_RGB))
if bmp is None: # or more precise: if not isinstance(bmp, c4d.bitmaps.BaseBitmap) ...
    raise MemoryError("Failed to allocate bitmap.")

Cheers,
Ferdinand
]]></description><link>http://developers.maxon.net/forum/topic/15770/renderdocument-pythoncallback-how-to-display-progress-prints-during-the-render</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15770/renderdocument-pythoncallback-how-to-display-progress-prints-during-the-render</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to scale(&#x2F;rotate&#x2F;move) a parent object without affecting its children?]]></title><description><![CDATA[And that's good to know about using GetMl() over Get Mg(), mainly for the performance reasons if I understood correctly.
]]></description><link>http://developers.maxon.net/forum/topic/15762/how-to-scale-rotate-move-a-parent-object-without-affecting-its-children</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15762/how-to-scale-rotate-move-a-parent-object-without-affecting-its-children</guid><dc:creator><![CDATA[ops]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Set UVWs for Ngons?]]></title><description><![CDATA[@ferdinand I figured this issue out so you can mark this as solved/closed. Thank you.
]]></description><link>http://developers.maxon.net/forum/topic/15747/set-uvws-for-ngons</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15747/set-uvws-for-ngons</guid><dc:creator><![CDATA[ELJeffery]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Not able to post?]]></title><description><![CDATA[Hey @ELJeffery,
Thank you for pointing this out. We are generally aware of this issue. If anyone else is experiencing similar issues, please point them out. While we are aware that the issue exists and we can see the incident reports in the back end, it is not 100% clear to us how frequent this does happen to human users (and how urgent this is issue is).
So, when you run into the issue too, please drop us here the Cloudflare Ray ID of your error page. As an FYI, the issue usually rectifies itself after a few minutes.
Cheers,
Ferdinand
]]></description><link>http://developers.maxon.net/forum/topic/15746/not-able-to-post</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15746/not-able-to-post</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Weight manager &#x2F; How create folder in weight manager]]></title><description><![CDATA[Hello @Hohlucha,
Welcome to the Maxon developers forum and its community, it is great to have you with us!
Getting Started
Before creating your next postings, we would recommend making yourself accustomed with our forum and support procedures. You did not do anything wrong, we point all new users to these rules.

Forum Overview: Provides a broad overview of the fundamental structure and rules of this forum, such as the purpose of the different sub-forums or the fact that we will ban users who engage in hate speech or harassment.
Support Procedures: Provides a more in detail overview of how we provide technical support for APIs here. This topic will tell you how to ask good questions and limits of our technical support.
Forum Features: Provides an overview of the technical features of this forum, such as Markdown markup or file uploads.

It is strongly recommended to read the first two topics carefully, especially the section Support Procedures: Asking Questions.
About your First Question
This is a development forum and your question does not seem to be development related. Please read our forum guidelines lined out above. I have moved this topic into General Talk for now. When this is indeed an end user question we must ask you to use our Support Center, the developer forum is not the right place for end user questions. When this is a development question, then please line out the current code you have and provide a meaningful problem description.
Cheers,
Ferdinand
]]></description><link>http://developers.maxon.net/forum/topic/15691/weight-manager-how-create-folder-in-weight-manager</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15691/weight-manager-how-create-folder-in-weight-manager</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How do I create a menu item on the home screen next to the buttons.]]></title><description><![CDATA[@i_mazlov , Do you speak Russian?
]]></description><link>http://developers.maxon.net/forum/topic/15412/how-do-i-create-a-menu-item-on-the-home-screen-next-to-the-buttons</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15412/how-do-i-create-a-menu-item-on-the-home-screen-next-to-the-buttons</guid><dc:creator><![CDATA[Cheba Name]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to preserve the animation of a sphere]]></title><description><![CDATA[@i_mazlov thank you very much
]]></description><link>http://developers.maxon.net/forum/topic/15354/how-to-preserve-the-animation-of-a-sphere</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15354/how-to-preserve-the-animation-of-a-sphere</guid><dc:creator><![CDATA[pchg]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Speed up rendering by transforming takes into frames]]></title><description><![CDATA[Hello @ferdinand
Thank you for your guidance. I'll follow your suggestion and reach out to the support team for assistance with my query.
Best regards,
Tomasz
]]></description><link>http://developers.maxon.net/forum/topic/15343/speed-up-rendering-by-transforming-takes-into-frames</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15343/speed-up-rendering-by-transforming-takes-into-frames</guid><dc:creator><![CDATA[Futurium]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to get sphere coordinates]]></title><description><![CDATA[Hi @pchg ,
This thread is almost a full duplicate of your adjacent thread: How to preserve the animation of a sphere. The answer is provided there.
Cheers,
Ilia
]]></description><link>http://developers.maxon.net/forum/topic/15341/how-to-get-sphere-coordinates</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15341/how-to-get-sphere-coordinates</guid><dc:creator><![CDATA[i_mazlov]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[List of object visible by a camera within Safe Frames]]></title><description><![CDATA[Hi @i_mazlov ,
Thank you for confirming my solution.
Best regards,
Tomasz
]]></description><link>http://developers.maxon.net/forum/topic/15333/list-of-object-visible-by-a-camera-within-safe-frames</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15333/list-of-object-visible-by-a-camera-within-safe-frames</guid><dc:creator><![CDATA[Futurium]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Boundary Edges to Spline in Python]]></title><description><![CDATA[Dear Ilia,
I greatly appreciate your assistance; it was precisely what I needed. Thank you for your guidance and I wish you a wonderful day.
Best regards,
Tomasz
]]></description><link>http://developers.maxon.net/forum/topic/15277/boundary-edges-to-spline-in-python</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15277/boundary-edges-to-spline-in-python</guid><dc:creator><![CDATA[Futurium]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to Get cloner data in C++]]></title><description><![CDATA[Hi you can find in read_modata_color_r16.py  a Python example doing exactly that. To retrieve the position instead of retrieving the MODATA_COLOR your need to retrieve MODATA_MATRIX.
There is no difference for doing it in C++.
Cheers,
Maxime.
]]></description><link>http://developers.maxon.net/forum/topic/15276/how-to-get-cloner-data-in-c</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15276/how-to-get-cloner-data-in-c</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Discrepancy with point positions of Circle Spline Primitive]]></title><description><![CDATA[Hi @ferdinand,
thanks for taking the time to clarify that 
Okay, I see. So one can view this "behavoiur" as intended since it is the result of the math behind how the circle spline is calculated?
Still I wonder why the circle spline primitive with 1 intermediate point, i.e. with four control points doesn't appear like the n-side spline with 8 sides? Wouldn't it be "cleaner" that way?
Regading the true values - I am well aware that the repr of c4d.Vector rounds in the GUI. It was only that those values were quite off compared to the values of the points of the n-side spline. That's why my initial question arose. 
Interesting and good to know that rotating points via sine and cosine is slow and no good option. Thank you for that insight. May I ask why that is? I mean why is c4d.utils.MatrixRotZ better? What does that function do differently in terms of performance? In the end it has to do the math as well, does it not?
Sorry for constantly asking all this stupid questions. It is only that I want to understand these things thoroughly. 
Thanks for your time,
Sebastian
]]></description><link>http://developers.maxon.net/forum/topic/15210/discrepancy-with-point-positions-of-circle-spline-primitive</link><guid isPermaLink="true">http://developers.maxon.net/forum/topic/15210/discrepancy-with-point-positions-of-circle-spline-primitive</guid><dc:creator><![CDATA[HerrMay]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>