Graphics

 View Only
  • 1.  API Retrieve Sequencer TakeItem Index

    Posted 07-29-2023 03:15

    Hello,

    Any way to retrieve a take item in the sequencer's index? Say for example:

    takeItem.Index + 1 to move it down in the sequencer?

    Running 10.5.



    ------------------------------
    Jack Reynolds
    ------------------------------


  • 2.  RE: API Retrieve Sequencer TakeItem Index

    Posted 08-01-2023 10:54

    In the SDK Help File: 

    xpSequencer.GetTakeItemByIndex

    xpSequencer.MoveTakeItemByIndex(TakeItem, MoveToIndex)




  • 3.  RE: API Retrieve Sequencer TakeItem Index

    Posted 08-01-2023 10:55

    Added in XPression v6.0




  • 4.  RE: API Retrieve Sequencer TakeItem Index

    Posted 08-01-2023 22:55

    My SDK does not list that, in both 9.5 and 10.5. I have the GetTakeItemByIndex, but what I really need is a GetFocusedTakeItemIndex, or a .Index property for either xpTakeItem or xpBaseTakeItem.

    MoveTakeItemByIndex I do not have. Attempting to write this line in the IDE does not autofill any result. What am I missing?



    ------------------------------
    Jack Reynolds
    ------------------------------



  • 5.  RE: API Retrieve Sequencer TakeItem Index

    Posted 08-02-2023 17:00

    Ah, my bad. I see that MoveTakeItemByIndex was added in XPression 11.0. The other calls were added in 6.0. 

    All these calls were added in 11.0, I think these are what you are looking for: 

    • [implemented] xpSequencer.MoveTakeItemByIndex to move a TakeItem object to a index position in sequencer
    • [implemented] xpSequencer.MoveTakeItem to move a takeitem either before or after a target takeitem in sequencer
    • [implemented] xpSequencer.GetPrevItem to get the previous takeitem of a given takeitem
    • [implemented] xpSequencer.GetNextItem to get the next takeitem of a given takeitem
    • [implemented] can now get the sequencer index position of a takeitem using xpBaseTakeItem.Index and xpTakeItem.Index




  • 6.  RE: API Retrieve Sequencer TakeItem Index

    Posted 08-03-2023 04:15

    Ah, they are, unfortunately. Thanks anyway! 



    ------------------------------
    Jack Reynolds
    ------------------------------