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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Spline Description

    SDK Help
    0
    4
    352
    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
      Helper
      last edited by

      On 17/06/2014 at 13:43, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   14 
      Platform:    Mac  ;  
      Language(s) :     C++  ;

      ---------
      Hi,

      I have a spline parameter declared in GetDDescription() like this:

        
        
      cid = DescLevel(idSpline, CUSTOMDATATYPE_SPLINE, 0);  
      if (!singleid || cid.IsPartOf(*singleid,NULL))  
      {  
              
      BaseContainer bc;  
              
      bc = GetCustomDataTypeDefault(CUSTOMDATATYPE_SPLINE);  
      bc.SetString(DESC_NAME,"Time");  
              
      if(!description->SetParameter(cid, bc, DescBaseGroup)) return TRUE;   
              
       }  
      

      This seems to work perfectly, except when I right click on it in the Attribute Manager and click Show in separate window, it opens an empty dialog.

      Is there a setting or something I'm missing?

      As always, thanks!

      Dan

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

        On 19/06/2014 at 02:55, xxxxxxxx wrote:

        I did asked the same question and Niklas would forward it to the developers.
        No answer yet.

        See https://developers.maxon.net/forum/topic/7801/10055_splinecontrol-show-in-separate-window&KW=separate&PID=38995#38995

        Originally posted by xxxxxxxx

        Unfortunately, I don't have a solution for you right now. I've forwarded this to the developers.

        Best,
        -Niklas

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

          On 19/06/2014 at 14:33, xxxxxxxx wrote:

          Ah, that didn't show up to me when I was doing my search because I was looking for CUSTOMDATATYPE_SPLINE instead of CUSTOMGUI_SPLINE, thanks for the info.

          I am trying to get a spline in the node description, instead of a dialog, I'm not sure if that is a different problem or the same one.

          Thanks!
          Dan

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

            On 25/06/2014 at 15:03, xxxxxxxx wrote:

            I figured out the problem I was having with the node description, I had messed up my group parameter descriptions, fixing those made it work.

            Dan

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