I want to Record to Timeline



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/08/2010 at 22:10, xxxxxxxx wrote:

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

    ---------
    Hello
    I want to Record to Timeline.
    Very poor at English
    If it can do, I will want you to show an example.
      int i;
      i=0;
      BaseDocument* doc1 = GetActiveDocument();
      BaseObject* A_obj = doc1->GetActiveObject();
      CINTER_STEP; //It is step mode about on off
      A_obj->SetRenderMode(MODE_ON);
      A_obj->SetEditorMode(MODE_ON);

    start = i+1;
      BaseTime stime = BaseTime::BaseTime(start,doc1->GetFps());
      doc1->SetTime(stime);

    A_obj->SetRenderMode(MODE_OFF);
      A_obj->SetEditorMode(MODE_OFF);



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 08/08/2010 at 06:53, xxxxxxxx wrote:

    DescID     descID = DescID(DescLevel(ID_BASEOBJECT_VISIBILITY_EDITOR));
    CTrack     *track;
    CCurve     *seq;
    CKey     *key;

    // check if track exists
    track = op->FindCTrack(descID);
    if (!track)
    {
         track = CTrack::Alloc(op, descID);
         if (!track)
              return FALSE;
         op->InsertTrackSorted(track);
    }
    seq = track->GetCurve();
    if (!seq)
         return FALSE;
    key = seq->AddKey(time);
    if (!key)
         return FALSE;
    if (!track->FillKey(doc, op, key))
         return FALSE;
    ...



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/08/2010 at 00:11, xxxxxxxx wrote:

    Thank you corresponding to a busy place
    First of all, it is gratitude.
    It is difficult.
    From now on, I think.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/08/2010 at 02:02, xxxxxxxx wrote:

    Thank You Very Much
    It was recordable.
    If it can do, I will want to record by STEP_MODE.
    It is Linear_MODE now.
    If it can do, I will want you to show an example.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/08/2010 at 21:04, xxxxxxxx wrote:

    Once more chance Please
    From SKD ↓
    >CInterpolation
    >Header
    >operatingsystem.h
    >
    >Definition
    >enum CInterpolation
    >{
    >public:
    >  CINTER_SPLINE;
    >  CINTER_LINEAR;
    >  CINTER_STEP; ←←←←←←
    >};
    I'd like to record to Timeline by "STEP_MODE".
    But I don't know how to do it.
    Could you send me a sample program?


Log in to reply