Set Random location

How can I set a random location (into a certain range) to some selected objects via python?

check out the bundled script Scripts->Object->Randomize Loc Size Rot how it is done

(it’s in .blender/scripts/ )

You don’t even have to write anything yourself: you can import the script and use its randomize() function.

Thanks. I’m very gratefull :smiley: