ListItems Class

From DevWiki

(Redirected from Listitems Class)
Jump to: navigation, search

Applications,Python API,MC Module

Contents


Overview

This class represents a list of items. Should be used as a python list/array. Use append(), remove() etc. See http://docs.python.org/tutorial/datastructures.html for python help.


Example

  1. itemList = mc.ListItems()
  2. item = mc.ListItem( mc.ListItem.MEDIA_VIDEO_CLIP )
  3. item.SetPath("http://www.youtube.com/watch?v=oHg5SJYRHA0")
  4. itemList.append(item)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox