Thanks Chad, but still not quite right:

import pymel.tools.mel2py as mel2py
# WARNING: No t_error rule is defined
# WARNING: Token 'COMMENT_BLOCK' defined, but not used
# WARNING: Token 'COMMENT' defined, but not used
# WARNING: There are 2 unused tokens
# WARNING: no p_error() function is defined
# WARNING: Symbol 'element_list' is unreachable

mel2py( 'pixl_addLites.mel')
# Error: TypeError: file <maya console> line 1: 'module' object is not
callable #

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to