misterwolfy
10-18-2010, 04:07 AM
Mel feedback shows that the AEassignTextureCB command is used when we assign an image to a file texture in Maya.
Trying to convert this to Python gives an error: # AttributeError: 'module' object has no attribute 'AEassignTextureCB' #
I also tried: mc.setAttr( (myTex +'.fileTextureName'), 'path/image.00000.tif'), this gave me another error: # RuntimeError: 'file8.fileTextureName' is not a simple numeric attribute. Its values must be set with a -type flag. #
Any idea how to work this? I was not able to figure it out.
Thanks for reading!
Trying to convert this to Python gives an error: # AttributeError: 'module' object has no attribute 'AEassignTextureCB' #
I also tried: mc.setAttr( (myTex +'.fileTextureName'), 'path/image.00000.tif'), this gave me another error: # RuntimeError: 'file8.fileTextureName' is not a simple numeric attribute. Its values must be set with a -type flag. #
Any idea how to work this? I was not able to figure it out.
Thanks for reading!
