hi im tring to change the seed value on a noise modifier
for a bunch of selected objects
but cant make a script work
im just starting with scripting and came up with this
$.modifiers[#Noise].seed = random 1 9999
but it will only work when one object is selected
can any one help me with this ?
it will save me allot of time
thanks
Comments (4)
Comment policy
Any joy?
Did you have any luck getting this script to work? It would be really useful and save a load of time. I tried the scripts but they didn't seem to have any effect at all.
Hi Andy, your code is simple but not check if objects has noise modifier applied.
This also a quick code. If some modifier renamed - the script will omit it. For this cases will need class check.
maybe you want it a little bit simplier, try this one. Select the objects with the noise modifier applied and type this either into a new editor or the listener:
for obj in selection do (
obj.modifiers[#Noise].seed = random 1 9999
)
hi, all you need is for loop that does your command for every object in the selection, and maybe some error checking. you may use this little tool:
Attachments