Lorinc Posted October 28, 2011 Posted October 28, 2011 I have in my drawing about 2000 block of trees, and I would give them a bit of variety. Is it possible somehow to randomize the scale factor of these blocks for example between 0.75 and 1.25? I wouldn't do this job manually.. Quote
ReMark Posted October 28, 2011 Posted October 28, 2011 Are the blocks all on one layer? I know there are lisp routines that will scale multiple objects yet retain the original insertion point but it is one global scale for all. Maybe you could scale the trees by block name using a custom lisp routine, like the one previously mentioned, and QSELECT. Example: all blocks called "Evergreen" get scaled by a factor of 0.85 while all blocks called "Maple" get scale by a factor of 1.25. Or you could make a random fence around a whole group of trees and scale all by a certain factor. Those are my best ideas at the moment. Quote
Lorinc Posted October 28, 2011 Author Posted October 28, 2011 I have only one tree block which is scattered on the planning area. It would be a kind of a solution if I could turn them randomly to 4 or 5 different blocks then one by one QSELECT the same blocks and change the scale factor like you said. But how... Quote
ReMark Posted October 28, 2011 Posted October 28, 2011 OK...I thought you had more than one tree block. Well, like I said, there are lisp routines for scaling more than one object at a time and keeping the insertion points the same. Then I guess you'd have to scale using a "fence" to random pick on the trees you want. Trouble is, how do you keep track of the ones you have/haven't scaled? That's the key thing here I think. Quote
Lorinc Posted October 28, 2011 Author Posted October 28, 2011 I don't know what you mean if you say using a "fence". I've never used random pick, but it sounds good to me. It doesn't matter if I scale some blocks 2 or 3 times. Just I'd have different sized trees then uniform. Quote
ReMark Posted October 28, 2011 Posted October 28, 2011 You never heard of "Fence"? It's an option for selecting objects. You draw the "fence" right through multiple objects (it shows up on your screen as a dashed line). I thought every AutoCAD user knew this. Go practice right now. Pick an editing command and try it. Could be Move or Copy or even Scale. Quote
Lorinc Posted October 28, 2011 Author Posted October 28, 2011 Ok, I googled it, and it's really useful feature, but now I'd need a random selection... If I could select randomly some of my blocks, I could easily modify the scale factor in the properties panel. Quote
ReMark Posted October 28, 2011 Posted October 28, 2011 You're not following me. You don't need a random selection if you are using the "fence" option as a means of identifying the objects you want to scale. What you do need is a means of scaling randomly selected blocks by their own insertion points. Quote
Lorinc Posted October 28, 2011 Author Posted October 28, 2011 I isolated my trees, then I selected with the fence option some of the blocks, and then just modified the scale factor of them. It isn't the easiest way, cause the "fence" option as a means of identifying the objects is to slow as I have 2000 trees. But anyway it works, so thanks for the tip:) Quote
ReMark Posted October 28, 2011 Posted October 28, 2011 Well it's too bad that all your trees were done using the same block otherwise I think we could have come up with a better solution. Quote
Lorinc Posted October 29, 2011 Author Posted October 29, 2011 Is it possible to make somehow a real random selection in Acad? Quote
ReMark Posted October 29, 2011 Posted October 29, 2011 I don't know. What have you done to research a possible answer other than post here? We wouldn't want to duplicate your efforts. Quote
3dwannab Posted June 20, 2023 Posted June 20, 2023 Digging up an old thread but Scatter.vlx will do this and a lot more. https://www.cadforum.cz/en/download.asp?file=Scatter Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.