Did you know you can do this in autocad?
UrbanLISP
AutoCAD AutoCAD AutoCAD

Exchange Random

It's good to have a standard routine to set up blocks. In that case it's easy to make your drawing more vivid by using 'Exchange Random'. You will have to make two selections of blocks. The first selection are the blocks in your drawing. The second selection are sample blocks, different types of blocks. As soon as you confirm the second selection the command will exchange every block in the first selection you make with a block randomly picked from the second selection you made creating a variety of blocks. The blocks are completely random but you can influence the result. When you select blocks named "block A" and "block B" once and "block C" twice, the command will place about twice as many blocks called "block C" then the blocks called "block A" and "block B".

Command summery

Entry:
ERA
Applies to:
blocks
Effect:
Replace selected blocks randomly with predefined blocks
Tags:
block, exchange, random, ratio
Categories:
Blocks, randomisers
Suitability:
No additional suitability information
Watch on YouTube

Pointers

Development Log

October 2023
You can now cycle through the different configurations the command generated. By clicking with the right mouse button you can go to the previous configurations, by clicking left you can go the next or generate a new configuration. Hitting enter confirms the configuration that is visible on that moment.

Known issues

Download
Purchase (€6.99)
Add to favorites