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

    Problems setting T2

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 230 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

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

      On 31/01/2005 at 06:33, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9 
      Platform:      Mac OSX  ; 
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      I'm trying to change T2 for a sequence, my code is:
      t2 = seq->GetT2();
      println("T2: ", t2->GetFrame(fps));
      println("T2_neu: ", t2->GetFrame(fps) + zeitdifferenz);
      t2->SetFrame(t2->GetFrame(fps) + zeitdifferenz, fps);
      println("T2_test: ",t2->GetFrame(fps));
      ...
      obj->Message(MSG_UPDATE);
      ...
      GeEventAdd(DOCUMENT_CHANGED);

      output is:
      T2: 1062.000000
      T2_neu: 1077.000000
      T2_test: 1077.000000

      but T2 doesn't get changed, no change in the timeline and editor.
      Any idea what is my fault?

      Bye
      Bernd

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

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

        On 31/01/2005 at 07:44, xxxxxxxx wrote:

        uuuahh!
        Sorry, was my fault

        t2->SetFrame(t2->GetFrame(fps)+ zeitdifferenz, fps);
        seq->SetT2(t2);

        is much better.

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