Sitni Sati Forums
BackBurner scripting - Printable Version

+- Sitni Sati Forums (https://forum.afterworks.com)
+-- Forum: Products (https://forum.afterworks.com/forumdisplay.php?fid=4)
+--- Forum: FumeFX [maya] (https://forum.afterworks.com/forumdisplay.php?fid=19)
+--- Thread: BackBurner scripting (/showthread.php?tid=1835)



BackBurner scripting - kjellstrode - 11-10-2017

Hello,

I am attempting to create a script to setup and check attributes before a fume sim is submitted to the farm. I am getting hung up on the back burner button.

I am using
Code:
ffxBurnMe "fumeFXShape1";
I usually use python but it only seems possible in MEL

It works but it turns it on and off, there is no boolean involved (0 or 1) so if I already have it on it turns it off and if I have it off it turns it on. The idea is that no matter what it turns on and stays on even if the script it used again and again.

I couldn't find anything in fumeFXcmd or fumeFX, I was only able to get info on ffxBurnMe by using echo all commands

Thanks,

-Kjell


Re: BackBurner scripting - dinom - 11-13-2017

Hi

You can use:
Code:
cmds.setAttr( 'fumeFXShape1.backBurnerFlag', False )
to set backburner flag, and getValue of the same attribute to get it's value.

Hope this solves the problem.


Re: BackBurner scripting - kjellstrode - 11-13-2017

Hi Dino,

That is 100% what I am looking for. Thank you!

I should have known a setAttr was the way to go but didn't know how fume handled the backburner mode since it wasn't echoed that way.

Thanks again!


Re: BackBurner scripting - dinom - 11-15-2017

No problem at all.
Feel free to post any questions you might have.