I want to use php to create a mel script that renders in the background using exec('maya //Options').
Something like Create text -> add a brush to it -> convert it to polygons then render it out.
I have managed so far to get this working in maya as a mel script but when I try and run it through maya –prompt I get an error that the Paint Effects module isn’t loaded up. Is there a way to load the module and get the command prompt working or am I going about this totally the wrong way?
I’m pretty new to maya and mel but I like experimenting
Here’s the mel script so far
textCurves -f "Courier" -t "hello world" -n "TheText"; select -r TheTextShape; FrameSelected; fitPanel -selected; //Neon brush code Omitted because of the size of it AttachBrushToCurves; SelectAll; select -allDagObjects; doPaintEffectsToPoly( 1,0,0,1,100000);
Thanks Themodem
