Hello all, 

I'm trying to import a blendshape attribute map from a texture file.  I 
expect I must be going about it the wrong way though as I can't seem to get 
it to work no matter how I try it.  Here is what I'm doing currently:

import maya.cmds as cmds

cmds.artAttrPaintVertexCtx('artAttrBlendShapeContext')
ctx = pm.currentCtx()
cmds.setToolTo(ctx)
cmds.artAttrPaintVertexCtx(ctx, ifl='P:\BsMaps\half_l.tif', 
importfilemode='luminance')

I'm getting this:

// Error: 

# Traceback (most recent call last):

# File "<maya console>", line 2, in <module>

# RuntimeError: //

FWIW, the page I'm trying to use for reference 
- 
http://download.autodesk.com/us/maya/2011help/CommandsPython/artAttrPaintVertexCtx.html

If anyone has done this before, or knows what I'm doing wrong, a hint would 
be amazing!  

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/660876a5-41fe-4684-b42d-7995d0f46945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to