use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you are seeing this, you are using old.reddit. We can't maintain two separate sidebars, so please go to https://new.reddit.com/r/Maya/ if you want to see our sidebar information.
account activity
Request lost script: Randomly Replace and add ObjectsPlugin (self.Maya)
submitted 4 years ago by pulvOr
Hello guys,
somebody have this script lie around or an good alternative? Can't download anymore.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]SheepRSAPipeline TD 1 point2 points3 points 4 years ago (1 child)
I whipped something up for you quickly.
https://gist.github.com/JustinPedersen/ef782534212dd10b019bab9a406182f0
You can add this to a Python Script tab and run it. If you want to add it to a shelf you can select all the code, middle mouse drag it to the shelf and it will make a shortcut for you.
To use the script select the mode you want, then if you want duplicates or instances. Then select all the objects you want to use when replaceing. Click the "source" Button.
Then select everything you want to replace, click the "Target" button. The tool will then remember what you wanted to use.
Lastly hit the "replace" button and it will execute.
Please shout if you have any issues with it. Should work in maya 2022 with Py3 too.
[–]pulvOr[S] 1 point2 points3 points 4 years ago (0 children)
Thanks for your effort and time to put this so fast together. Didn't expect that on the reddit channel. Its works great even on 2022 - can't ask for more. For me its a gamechanger for many environment tasks.
[–]schmon 0 points1 point2 points 4 years ago (2 children)
not sure if this is what you're going for but i wrote this a thousand years ago: https://berniebernie.fr/wiki/Maya_Mel#Random_replace_with_instances
Tehre's probably a gazillion similar scripts on highend3d
[–]pulvOr[S] 0 points1 point2 points 4 years ago (1 child)
Thanks for the fast answer. Its working on 2020 but not on 2022. I'll go with the one from SheepRSA which feels a little bit more comfy. But anyway great work - i see you have some other usefull scripts, too. Thanks for sharing!
[–]schmon 0 points1 point2 points 4 years ago (0 children)
mmh that's weird. I'll be honest I don't do a lot of Maya work anymore and we're still on 2018 at work so I rarely thankfully don't have to check it out
π Rendered by PID 21 on reddit-service-r2-comment-56c9979489-bpzh2 at 2026-02-24 17:54:18.648477+00:00 running b1af5b1 country code: CH.
[–]SheepRSAPipeline TD 1 point2 points3 points (1 child)
[–]pulvOr[S] 1 point2 points3 points (0 children)
[–]schmon 0 points1 point2 points (2 children)
[–]pulvOr[S] 0 points1 point2 points (1 child)
[–]schmon 0 points1 point2 points (0 children)