• Tree view boolean column bug

    Cinema 4D SDK python windows
    2
    0 Votes
    2 Posts
    574 Views
    M
    Hi @Gregor-M please make sure that your script is executable before sending it to us. Since in it's current state it does raise Traceback (most recent call last): File "scriptmanager", line 53, in GetDown File "scriptmanager", line 33, in GetChildren AttributeError: 'Entity' object has no attribute 'children'. Did you mean: 'GetChildren'? I added self.children = [] within the __init__ of Entity and it fixed the issue but this indicate that you are working on a different version than us. But even with it I'm not able to reproduce any issue and everything is working as expected. With that's said your else statement within the SetCheck looks very suspicious and I won't be surprised that the behavior you are experiencing is coming from this else statement. Finally note that you can call the function TreeViewCustomGui.SetRoot to define a root. Then the root argument that is available in all functions will be pointing to it. Cheers, Maxime.
  • 0 Votes
    3 Posts
    769 Views
    ferdinandF
    Hey @skibinvitaliy, 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: How to Ask Questions. About your First Question No one is judging you here, problems are part of the game and what we are here for to help with . But please familiarize yourself with our forum rules, such question should be accompanied by example code and the version you are migrating from, as we otherwise mostly have to guess what is going wrong. I am assuming you are migrating from a pre-2025 SDK, that is at least what your errors imply. With 2025 we introduced our cinema namespace. Please follow our Migrating Plugins to the 2025.0 API guide. You are likely just missing a couple of using namespace cinema; at the top of your files. Cheers, Ferdinand
  • 0 Votes
    6 Posts
    1k Views
    i_mazlovI
    Hi Sebastian, correct, it hasn't been included into 2025.2.0. The next minor release will likely have it fixed though. Cheers, Ilia
  • 0 Votes
    5 Posts
    1k Views
    M
    Hi sorry I fixed my code. Cheers, Maxime.
  • Python Tag: Detecting Edge Selection Changes

    Cinema 4D SDK windows 2025 python
    3
    0 Votes
    3 Posts
    725 Views
    ymoonY
    Thanks, I'll test Dirty on selection.
  • 0 Votes
    2 Posts
    927 Views
    i_mazlovI
    Hi @BigRoy, Please check our Support Procedures in regards of the question structure, namely: Singular Question: The initial posting of a support topic must contain a singular question. Do not ask ten things at once, that makes it extremely hard to answer topics. Break up your questions into multiple topics. Asking follow-up questions is allowed but they must be bound to the initial subject. Singular Subject: From all this follows that a topic must have a singular and sparse subject tied to a specific problem. 'My Nodes API Questions' is not a valid topic as it splits up into too many subtopics. A valid subject could be 'accessing node attributes' or 'traversing a node graph'. One could for example first ask 'how to get the name attribute of a node?' and then ask a follow up question about 'how to get the icon attribute too?'. This specifically applies to plugins, just because you have two problems with one plugin does not mean that they should be asked in the same topic. Regarding you question, there's no high level API that allows you to get a list of all files you've mentioned at once. This effectively means that not only do you need to access this yourself, but you also need to do so for the render engines you'd like to support, as these are likely going to differ among them. Specifically for the Redshift AOVs and output files question, please check related threads: get the names of redshift multi passes AOV names from the render settings Add Expression Value in Render Settings Save Path As for the takes, the only application where they make any sense is the Render Queue. If you're not using it, it's only the active take that's being rendered. Of course you can deal with it by using SetCurrentTake function. I suggest you keeping this thread for the "render output files" part of your initial question and encourage you to make separate postings for your other questions that diverse from this topic here. Cheers, Ilia
  • 0 Votes
    3 Posts
    946 Views
    B
    Thank you @ferdinand for the help! Write raw memory does help a lot, appreciate!
  • 0 Votes
    9 Posts
    2k Views
    A
    thanks @ferdinand this makes perfect sense now. I appreciate the time you took to explaint he best practice.
  • 0 Votes
    6 Posts
    2k Views
    ferdinandF
    Hey @qq475519905, sorry for the delay. As I said in the beginning, you can implement your own serializer using GoZ. But there is no dedicated exporter API in ZScript. I assume you are using some RoutineCall to achieve what you are doing. You cannot escape any GUI associated with such call. Cheers, Ferdinand
  • How to create UV of obj.

    Cinema 4D SDK windows python 2025
    4
    0 Votes
    4 Posts
    1k Views
    M
    I use this to Thank You Ferdinand. This is how I imagine an SDK example should look like .... a simplest version , an altered simple version and a complex touching the boundaries of the subject. I am thankful and praise your work .... ! cheers mogh
  • 0 Votes
    24 Posts
    7k Views
    Y
    Oh, you've edited your previous message! Thanks! I will try it.
  • customize ZBrush add-on

    ZBrush SDK windows 2024
    3
    0 Votes
    3 Posts
    1k Views
    L
    @m_adam thanks for your prompt response. I'm looking forward to hearing from you.
  • 0 Votes
    10 Posts
    2k Views
    B
    Thank you very much for all your detailed explanation, @ferdinand!
  • Storage issues with plugin settings

    Cinema 4D SDK 2023 python windows
    3
    2
    0 Votes
    3 Posts
    936 Views
    N
    Thank you for @Dunhou answer. It was ultimately completed in JSON format
  • 0 Votes
    3 Posts
    953 Views
    i_mazlovI
    Hi @Neekoe, That's great to hear you've managed to solve the issue! For your future postings please note that according to our Support Procedures: We cannot debug your code for you and instead provide answers to specific problems. This effectively means that you're welcome to ask your questions and attach the code snippet that demonstrates your question or issue you're struggling with. However, we cannot debug your entire codebase, so you have to isolate your specific question and the corresponding part of code yourself before asking the question. Cheers, Ilia
  • 0 Votes
    11 Posts
    2k Views
    ferdinandF
    Thanks for helping out @spedler!
  • Add icons to treeview

    Cinema 4D SDK 2023 python windows
    6
    2
    0 Votes
    6 Posts
    1k Views
    M
    Thanks @Neekoe to have shared your solution and thanks @Dunhou for helping. When you pass LV_TREE the Draw method is not called to have it called you need to pass either LV_USERTREE or LV_USER. Cheers, Maxime.
  • 0 Votes
    4 Posts
    1k Views
    N
    @ferdinand Thank you so much. He perfectly solved all my problems
  • 0 Votes
    6 Posts
    1k Views
    kbarK
    @freeze I wrote this a few years back which might give you a good starting point. https://plugins4d.com/Product/FunRay https://github.com/kentbarber/rtow4d Cheers, Kent
  • 0 Votes
    3 Posts
    634 Views
    F
    @ferdinand Thank you for replying!