Message 1 of 1
ImagePlane?

Not applicable
08-04-2012
08:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to create an ImagePlane by using Python (preferably Pymel).
The only thing I could find about it was this:
http://download.autodesk.com/global/docs/maya2013/en_us/CommandsPython/imagePlane.html
but the example given at the end of the page didn't work...
THis is the code:
import maya.cmds as cmds
It resulted in "# Error: AttributeError: 'module' object has no attribute 'imagePlane' # "
I'm using Maya 2012 (I tested the code on either Mac and Windows)
I'm trying to create an ImagePlane by using Python (preferably Pymel).
The only thing I could find about it was this:
http://download.autodesk.com/global/docs/maya2013/en_us/CommandsPython/imagePlane.html
but the example given at the end of the page didn't work...
THis is the code:
import maya.cmds as cmds
# query whether the image plane on the persp camera
# is using a QuickTime movie
cmds.imagePlane( 'persp', q=True, qt=True )
# get the current timecode
cmds.imagePlane( 'persp', q=True, tc=True )
It resulted in "# Error: AttributeError: 'module' object has no attribute 'imagePlane' # "
I'm using Maya 2012 (I tested the code on either Mac and Windows)