Getting info about file texture node
I need a way to get the width and height of an existing file texture node in pixels using MEL. Anyone? ;)
This is a part of a bigger script. I'll post it here if I get it working :) |
Found it. Wasn't too hard after finding out where to look :)
Here it is: Code:
getAttr MyFileTextureNode.outSizeX; |
cool. It looks like we need more MEL guys around here. Afraid that's one area of Maya I know zilch about. lol
|
I'm working on a script that speeds up the reference image plane setup. I'm almost ready to release the first alpha version :)
[bugwarning] be aware, this is my first "real" mel script :) [/bugwarning] :beer: |
nice kbrown, looking forward to try it out :)
|
All times are GMT. The time now is 12:00 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018