![]() |
|
Maxscript and FFX - 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: Maxscript and FFX (/showthread.php?tid=701) |
Maxscript and FFX - holycause - 10-05-2008 hi guys. I was wondering if there is a way to get the objects/sources/spacewarps list using ms???? i know how to add and remove them but not how to get a list of it Re: Maxscript and FFX - jrand - 10-05-2008 Here is a simple script I wrote a while back that loads the selected objects into an array and adds them to a listbox. Feel free to pull it apart, see if it is what you are looking for. ![]() FXSelector.zip Re: Maxscript and FFX - holycause - 10-05-2008 hi, i know your script ![]() but i m speaking about the FFX ui obj/src tab
Re: Maxscript and FFX - jrand - 10-05-2008 Oh, I see what your saying. Hmmm, afaik, no there isn't, at least not directly anyway. There maybe a way I just can't see it, sorry
Re: Maxscript and FFX - holycause - 10-06-2008 i'm still looking for it. i ll let you know if i find it out Re: Maxscript and FFX - amckay - 11-13-2008 I'm pretty sure you can.. I dont have max with me right now unfortunately but I'm quite confident I've done this try a showproperties on your container or look through the maxscript help for fume (I'm sure you've probably done both of these already) but I believe it reads in the objects like an array, so you make an array with the objects in it and add the array, but I dont have the exact property you need to use with me but I'm pretty sure its doable.. Re: Maxscript and FFX - jrand - 11-14-2008 Tried it, works for everything BUT the objects tab The only one that returns an array is the Light list.By guessing with the input $FumeFX01.Objects returns: ReferenceTarget aramBlock2So I guess it is there just not accessible? Any ideas? The objects/sources tab is a strange beast, no trackview for object speed multiplier (it is keyframable but you can't see your keys). Trackview for sources must be done on the object, it doesn't work correctly through the Fume interface. Object controller in the trackview is there but empty? Limited script support. Re: Maxscript and FFX - Jordan - 11-18-2008 This function should give you an array of sources that the fume is dependent on. Not exactly what you want but close: fn GetFumeSources MyFume = ( SourceArray = #() for obj in objects where classof obj == Particle_Src or classof obj == Simple_Src or classof obj == Object_Src do ( isDependant = false for dep in refs.dependents obj where dep == Myfume while isDependant == false do isDependant = true if isDependant then append SourceArray obj ) SourceArray ) myFumeSources = GetFumeSources $FumeFX01 if you want space warps, lights etc you can just change the "for obj in...." line to filter what you want Re: Maxscript and FFX - jrand - 11-18-2008 Nice one works a charm! Thanks Jordan
|