• 0 Votes
    8 Posts
    2k Views
    C
    @i_mazlov , Do you speak Russian?
  • Dialog window with palette

    Cinema 4D SDK python
    3
    1
    0 Votes
    3 Posts
    829 Views
    merkvilsonM
    Is it possible to save and load the group window in a way similar to the l4d files?
  • How to make static texts bold? Icons?

    Cinema 4D SDK 2024 python
    2
    0 Votes
    2 Posts
    596 Views
    ferdinandF
    Hello @momoko, Thank you for reaching out to us. I understand that especially when getting familiar with a new API that the thirst for knowledge is immeasurable and the questions are uncountable but I must also point out our Support Guidelines here, especially our Support Topic Rules. A support topic should be mono-thematic, i.e., usually have one question only. If you have multiple questions, please open multiple topics. Please also make sure that your questions are repeatable as outlined in the guidelines. Usually this means complete code. I can guess from the context in this case that you are talking about GeDialog but I might not be able to in a more complex case. How can I make a static text bold? I tried some common methods in Python but they didn't work! I am not sure what you mean with common methods in Python, but you can make a static text font bold by a bit counterintuitively setting its border style. There is no italic option and bold emphasis should be used only very selectively. self.AddStaticText(id=2001, flags=c4d.BFH_SCALEFIT, name="Hello World", borderstyle=c4d.BORDER_WITH_TITLE_BOLD) How can I add an icon to a button without using custom icons? Does Cinema4D provide any default icon like Blender? I am not 100% sure how this is meant. Buttons with icons and text are a bit atypical in Cinema 4D and usually only appear in palettes. The standard dialog button cannot have an icon. But you can use a CUSTOMGUI_BITMAPBUTTON, but they are not really meant to have a caption. You can find a Python example here. Cheers, Ferdinand
  • Sound effector - Volume

    Cinema 4D SDK python
    2
    0 Votes
    2 Posts
    622 Views
    ferdinandF
    Hello @merkvilson, Thank you for reaching out to us. Please put more effort into making yourself understood. While we prefer short and precise questions we do not want to guess what users mean. I assume you are talking here about the "Sound group" of the Sound Effector. But it has no "Volume" parameter, neither in this "Sound group", nor somewhere else in the object. The catch is here that "Sound" is not just a foldable group. Because we can select it (see screen below), we know it must be data type. [image: 1709284570444-25f548d1-cc2a-40c8-9e26-af1b080e8da2-image.png] Being set is here a c4d.SoundEffectorData instance, with it you can control the details in this sound section. To discover parameter values, please follow our Python Console: Parameter Drag & Drop manual. Cheers, Ferdinand
  • How to create Tabs with Python?

    Cinema 4D SDK 2024 python
    4
    0 Votes
    4 Posts
    777 Views
    M
    @Dunhou @i_mazlov Thank you guys!
  • Change Dialog Text color

    Cinema 4D SDK 2024 python
    4
    0 Votes
    4 Posts
    823 Views
    i_mazlovI
    Hello @momoko , 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 Thanks to @Dunhou for providing correct solution! Cheers, Ilia
  • 0 Votes
    7 Posts
    2k Views
    DunhouD
    Hey @m_adam , Can we port this DataDescriptionDatabaseInterface in python in some up-coming versions? this would be handy for some converting progress, now if I want to convert data, I have to manually writhe to node id, it is worth an automatic solution and we already have this. Cheers~ DunHou
  • Undraw Slider in TreeView?

    Cinema 4D SDK windows python 2024
    3
    2
    0 Votes
    3 Posts
    723 Views
    gheyretG
    Hi!@ferdinand Yes , That's what i want to do! I never didn't know LV_CHECKBOX_HIDE would work with LV_SLIDER, I simply assumed that it would only work with LV_CHECKBOX and LV_CHECKBOXUSER. But anyway i test it in my code , and it works perfectly! Thank you so much for your reply. Cheers~
  • Python Documentation - Icon Color

    Cinema 4D SDK 2024 python
    4
    0 Votes
    4 Posts
    1k Views
    i_mazlovI
    Hi @del, It's hard to predict future changes. It's likely the c4d.ID_BASELIST_ICON_COLORIZE_MODE_CUSTOM + 1 approach would stay untouched for the compatibility reasons, but who knows if there'd be any change requests that'd break this. Cheers, Ilia
  • 2 Votes
    3 Posts
    625 Views
    M
    Hi thanks for the detailed report, I fixed the issue it be available in the next non-hotfix release. As a workaround you can do dId = c4d.DescID(c4d.ID_LAYER_LINK) allObjects[i][dId] = myLayer Cheers, Maxime.
  • DrawHUDText issue with viewport camera navigation

    Moved Bugs 2024 python
    5
    3
    0 Votes
    5 Posts
    2k Views
    FlavioDinizF
    Thanks a lot @i_mazlov ! The issue is solved !
  • 0 Votes
    3 Posts
    797 Views
    K
    Hi @ferdinand , Thank you for clarifying. I needed a solution for my tool to determine which track/key is displayed&selected. But if I can't do that in user mode, I'll make sure my tools don't work when the timeline is in user mode.
  • Unable to set override in take

    Cinema 4D SDK python
    4
    0 Votes
    4 Posts
    913 Views
    ferdinandF
    Hey @robpayne that is great to hear, thank you for informing us!
  • 2024.3.0 SDK Release

    News & Information cinema 4d news c++ python sdk
    6
    2 Votes
    6 Posts
    3k Views
    ferdinandF
    Hey @no1astrologer, this will be fixed in the next release.
  • Can we handle drag document from treeview?

    Cinema 4D SDK windows python 2024
    3
    0 Votes
    3 Posts
    686 Views
    DunhouD
    Hi @i_mazlov , Sadly the GenerateDragData() not work in python, I had try the c4d.DRAGTYPE_FILENAME_SCENE, but it will return bad without GenerateDragData(),seems nothing we can do here. Cheers~ DunHou
  • 0 Votes
    4 Posts
    886 Views
    B
    Follow up but slightly unrelated question. If I have a GeDialog plugin with an edit field(for changing the Frame of a marker for example), is it possible to have it update while dragging vs on release? Is that some sort of CoreMessage thing? Right now I have a call inside of my Command function that basically says if the ID matches the edit field then set the marker frame. But I would like to be able to click and drag and see the marker's position move as I drag. Is that possible
  • Foldable Groups in Python GeDialog

    Cinema 4D SDK python 2024
    5
    0 Votes
    5 Posts
    1k Views
    i_mazlovI
    Hi @BretBays, Sorry for the delayed answer. Depending on how you picture the final look of your gui and how complex the behavior you'd like to have there, the means can be different. There's no easy way to achieve the same look as with "Freeze Transform" inside GeDialog. The suggested way would be to implement the logic manually and hide/show content by the button or a bitmap button. Such approach is demonstrated in the following examples: gedialog_menu_hide_content_r15.py that's pointed out by @Dunhou shows how to hide/show content customgui_quicktab_r19.py shows how to organize switch between your data using tab buttons If you really want to have the exact same look as foldable groups in the Description context, you could probably try drawing your layout with the DescriptionCustomGui that is capable of that (c++ example). However, I personally don't think this approach is worth the effort. Cheers, Ilia
  • Changing axis rotation position

    Moved General Talk python 2024
    8
    1
    0 Votes
    8 Posts
    2k Views
    S
    @ferdinand I've played with your idea for a bit and then realized, that the point where the adj meets the ground is wrong, as it should be the point where a circle or f = opp with center in O meets the ground. Eventually I decided to just hack it a bit and change the position of the rotating object and the object inside to counter that move. Here's the result: cards_script_v06-thickness.mp4
  • 0 Votes
    3 Posts
    757 Views
    M
    Thanks you answered my question, if it solves my problem we will see.
  • 0 Votes
    3 Posts
    638 Views
    D
    @i_mazlov thanks ilia!!! ok that was truly obvious actually had to use 'c4d.documents.GetActiveDocument()' to make it work in my case ...