Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    [Cinema 4D/Redshift] How to insert knots into a Redshift Ramp Node

    Scheduled Pinned Locked Moved Cinema 4D SDK
    python2026windows
    1 Posts 1 Posters 4 Views
    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.
    • pislicesP Offline
      pislices
      last edited by

      Hi,

      I would like to figure out how I can insert knots into a Redshift Ramp node in a Node Editor material using Python. The gradient field doesn't seem to be exposed like other gradients within Cinema 4D, and I have not had success finding examples of how to write to it with the updated Node materials.

      The example here (with the suggested fix applied) is pretty much exactly what I'm hoping to accomplish, but it only seems to work with the old Shader Graph materials.
      https://developers.maxon.net/forum/topic/15819/python-how-to-insert-knots-in-c4d-gradient

      The node editor exposes the inputs I would need, but I just haven't been able to figure out how to write to them.
      alt text

      Any help on this would be very much appreciated. Thank you!

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