Sitni Sati Forums
Can maxscript copy post script to the fumefx script? - Printable Version

+- Sitni Sati Forums (https://forum.afterworks.com)
+-- Forum: Products (https://forum.afterworks.com/forumdisplay.php?fid=4)
+--- Forum: FumeFX [max] (https://forum.afterworks.com/forumdisplay.php?fid=8)
+--- Thread: Can maxscript copy post script to the fumefx script? (/showthread.php?tid=603)



Can maxscript copy post script to the fumefx script? - fkkcloud - 05-13-2008

Hi all,
If I write a poststep script for fumefx in original maxscript window and the maxscript itself possible to copy the function and everything to maxscript in fumefx?


Re: Can maxscript copy post script to the fumefx script? - Rif - 05-13-2008

did you try it ? :?


Re: Can maxscript copy post script to the fumefx script? - fkkcloud - 05-14-2008

Hi, I was trying to do but could not find function that I can access through the maxscript in fumefx.. Sad


Re: Can maxscript copy post script to the fumefx script? - vjeko - 05-18-2008

Maybe I'm missing the point here, but...

Open FumeFX mxs window from the FumeFX floater and copy your code inside the poststep function:

fn poststep = (
-- your code --
-- you can access all global variables and functions from here too...
)

or you can define functions and call them later from within callbacks...

fn myfn = ( some code )
fn poststep = (
myfn()
)

Vjeko


Re: Can maxscript copy post script to the fumefx script? - Solitude - 05-18-2008

I think he wants to create a maxscript that would apply specific sets of code to fumefx... quick example: let's say for instance I want to create a GUI with some presets of fume scripts, and I want this script (done through maxscript) to apply my code to fume when I press the "Apply Code to Fume" button. I select a script / preset in my self made GUI and when I say apply, it should show up in fume... is this possible?


Re: Can maxscript copy post script to the fumefx script? - vjeko - 05-26-2008

I don't think that would be possible...
You could change the default script by editing the "simulation script template.txt" file in FumeFX folder, if that is of any use.
Vjeko


Re: Can maxscript copy post script to the fumefx script? - fkkcloud - 05-28-2008

Yeah. what Solitude said is exactly what I wanted..
Hmm, so, thats not possible..
Thanks for replying. Big Grin


Re: Can maxscript copy post script to the fumefx script? - sitnisati - 05-29-2008

Solitude Wrote:I think he wants to create a maxscript that would apply specific sets of code to fumefx... quick example: let's say for instance I want to create a GUI with some presets of fume scripts, and I want this script (done through maxscript) to apply my code to fume when I press the "Apply Code to Fume" button. I select a script / preset in my self made GUI and when I say apply, it should show up in fume... is this possible?


I have add this to the wishlist for FumeFX 1.2

Thank you.

Kresimir