Spline Description



  • 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



  • 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://plugincafe.maxon.net/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



  • 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



  • 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


Log in to reply