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

    Iterating tracks/ keys without OM selection

    Scheduled Pinned Locked Moved PYTHON Development
    5 Posts 0 Posters 1.1k 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 03/03/2011 at 04:24, xxxxxxxx wrote:

      Can you iterate though one or more objects tracks 
      operating on active keys
      Without having to select the Objects in the OM

      Just trying to emulate the user
      opening timeline
      drag selecting a group of keys in the timeline (no object(s) selected in OM)

      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 03/03/2011 at 04:58, xxxxxxxx wrote:

        Of course. Just use something like doc.GetFirstObject() or something like this.

        //edit: Ah you mean just selecting the keys without selecting the Objects ?
        Would be possible to, you have to iterate through the hole hierarchy and check for selected keys

        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 03/03/2011 at 05:36, xxxxxxxx wrote:

          Hi Nux - don't doubt your word

          The whole hierachy!! Gulp

          If you have 5000 objects (none selected)
          and you go the the timeline
          and select a couple of keys - does Cinema do this internally?

          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 03/03/2011 at 05:59, xxxxxxxx wrote:

            Hm, hopefully not

            But AFAIK the only way for us to get keys is by obtaining the from Objects directly.

            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 03/03/2011 at 06:36, xxxxxxxx wrote:

              Originally posted by xxxxxxxx

              Hm, hopefully not

              But AFAIK the only way for us to get keys is by obtaining the from Objects directly.

              Ouch!

              Maybe Sebastian can add a more direct method - even me, a Python newbie thinks that's not very efficient

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