Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. momoko
    3. Topics
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 14
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by momoko

    • M

      How to set a custom color for a node?

      Cinema 4D SDK
      • python 2024 • • momoko
      7
      0
      Votes
      7
      Posts
      834
      Views

      M

      @ferdinand You are amazing! Thanks

    • M

      How to set the position of a node manually?

      Cinema 4D SDK
      • python 2024 • • momoko
      4
      0
      Votes
      4
      Posts
      576
      Views

      ferdinandF

      Hey @momoko,

      I understood why you asked, as this is common thing to do. Even for our own other node system, Xpresso aka GraphView, doing this is possible in the API. I just provided an explanation as to why the Nodes Team did it like this and why they very likely will never change that (as it would break their design pattern). So that you and future readers can understand why we do this instead of just being confronted with a blunt "no" 🙂

      Cheers,
      Ferdinand

    • M

      how to set the path of a Textre node manually?

      Cinema 4D SDK
      • windows macos python 2024 • • momoko
      5
      0
      Votes
      5
      Posts
      646
      Views

      ferdinandF

      No need to be sorry 🙂

    • M

      How to make static texts bold? Icons?

      Cinema 4D SDK
      • 2024 python • • momoko
      2
      0
      Votes
      2
      Posts
      419
      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

    • M

      How to create Tabs with Python?

      Cinema 4D SDK
      • 2024 python • • momoko
      4
      0
      Votes
      4
      Posts
      564
      Views

      M

      @Dunhou @i_mazlov Thank you guys!

    • M

      Change Dialog Text color

      Cinema 4D SDK
      • 2024 python • • momoko
      4
      0
      Votes
      4
      Posts
      543
      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