Jump to content


- - - - -

Maya -prompt (Paint Effects) Help


  • You cannot reply to this topic
No replies to this topic

#1 Themodem

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 15 February 2007 - 02:34 PM

Hey all, here’s what I’m trying to do.

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users