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

    Modify rounded edges radius via python script

    Cinema 4D SDK
    python
    2
    3
    365
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ajcav2
      last edited by ferdinand

      Hello, I was wondering if it is possible to control the rounded edges radius of a node redshift material via a python script. So far, I’ve only been able to accomplish this in the GUI.

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi @ajcav2 welcome in Plugincafe 🙂

        I would like to ask to clarify your question since "the rounded edges radius of a node redshift material'' is a bit too fuzzy for us.
        Are you speaking about Xpresso node or new node material?
        Are you speaking about the look of a node or are you speaking about a node called "Round Edge"

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • A
          ajcav2
          last edited by

          Hi Maxime. Sorry for the confusion, I was referring to a Redshift material node, and a specific node called "Round Edge". We know that we can edit the rounded edges node via the API in Xpresso materials already, but we were trying to not use Xpresso here. Turns out, we can actually edit the Round Edge node in Redshift materials when we use c4dpy instead of executing the script by placing a .pyp file in the plugins folder. This solution works for us, so I think this issue is resolved. Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post