Sitni Sati Forums
runsimulation() bug - 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: runsimulation() bug (/showthread.php?tid=1046)



runsimulation() bug - amelnychuk - 07-20-2010

this might be a bit minor but maybe this works on

I found that runsimulation(0) triggers a system exception unless the fume edit ui is on first.

If I open a file, and run mxs cmd runsimulation(0) a system exception occurs and max crashes,

the mxs cmd "myFumeObj.EditUI = on" doesnt work.

If I open the cmd pannel by clicking on it, then running the sim maxscript command a simulation successfully triggers.

open a max file
FumeGridObj.runsimulation(0)
causes a system exception

open a maxfile
FumeGridObj.editUI = on
FumeGridObj.runsimulation(0)

causes a system exception

open a maxfile
clicking the fume grid and manually opening the fume window
FumeGridObj.runsimulation(0)

runs a successful simulation

I'm going to keep on pokeing around and see if I can get a workaround going. Thx.

thanks


Re: runsimulation() bug - amelnychuk - 07-20-2010

Fumefx 2

and it seems like I cant set any values without opening the fume panel first.

myFumeObj.simmode = 0 causes a system exception aswell

-Andrew


Re: runsimulation() bug - amelnychuk - 07-20-2010

the same problems persist when tried with a simulation licenese


Re: runsimulation() bug - amelnychuk - 07-21-2010

Bleh...this fixes it

actionMan.executeAction 12121256 "40011"
$PyroCluster_R_V0158.EditUI = on
$PyroCluster_R_V0158.runsimulation(0)


Re: runsimulation() bug - sitnisati - 08-02-2010

Thanks for reporting this bug.
I will have to dig what is it all about, but I am glad that you have found a workaround.

Kresimir


Re: runsimulation() bug - sitnisati - 08-19-2010

Hi Andrew,

I tried both max 9x64 and max 2010x64 for scripts like $FumeFX01.RunSimulatio(0) right after
scene load and it worked fine. Could it be scene specific ?

Kresimir


Re: runsimulation() bug - jrand - 09-10-2010

Not sure but I had to do the same technique as Andrew to get Jeff Lim's FumeFX Partitioner Script running with Fume 2.0