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
    • Register
    • Login

    Console output: Description::SetPDescription param(-1) is invalid?

    Cinema 4D SDK
    2024 c++ windows
    2
    3
    485
    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.
    • fwilleke80F
      fwilleke80
      last edited by

      Hello,
      my third post this morning πŸ˜„

      In the latest C4D 2024, I frequently see this in the Visual Studio debug console:

      Description::SetPDescription param(-1) is invalid
      

      This message is definitely not sent from my code. And having searched all API code and the SDK docs, I can find no trace of anything called SetPDescription. And I don't think I'm ever passing a description ID of -1 anywhere. What is it trying to tell me?

      Cheers,
      Frank

      www.frankwilleke.de
      Only asking personal code questions here.

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

        Hi in our code base there is this comment just above this diagnostic output (so only visible in debug)
        // DebugStop removed, happens all the time when creating nimbus material (no redshift plugin).

        You can ignore it, since the -1 correspond to the id of the basecontainer of the description, so nothing you have the control of.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • fwilleke80F
          fwilleke80
          last edited by

          Ok, thanks! πŸ™‚

          www.frankwilleke.de
          Only asking personal code questions here.

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