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
    • Login
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.

    Gradient Color Profile [SOLVED]

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 331 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.
    • H Offline
      Helper
      last edited by

      On 11/06/2016 at 00:57, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R17 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi,

      In my plugin I'm generating a dynamic description that uses CUSTOMDATATYPE_GRADIENT. I have noticed though, that its colors do not track the document color profile setting. I am aware that when generating descriptions via a .res file there is an ICC_BASEDOCUMENT option to get this behaviour.

      How would I go about specifying this when creating the dynamic description's BaseContainer?

      Thanks

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 13/06/2016 at 02:17, xxxxxxxx wrote:

        Hello,

        the ICC_BASEDOCUMENT option corresponds to the DR_COLORFIELD_ICC_BASEDOC flag of the BaseContainer.

        Best wishes,
        Sebastian

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 13/06/2016 at 03:40, xxxxxxxx wrote:

          Hi Sebastian,

          This solves the issue I was having.
          Perhaps the GetSetDParameter plugin sample could also be modified to include this flag.

          Thanks

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