example.py 411 B

123456789101112131415
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. '''
  9. This example script prints info of all TrackView sequences
  10. '''
  11. numTracks = trackview.get_num_sequences()
  12. for i in range(numTracks):
  13. print "Sequence '", trackview.get_sequence_name(i), "':"