Jump to content

Recommended Posts

Posted

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..:)

Posted

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.

Posted

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...

Posted

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.

Posted

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.

Posted

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.

Posted

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.

Posted

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.

Posted

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:)

Posted

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.

Posted

Is it possible to make somehow a real random selection in Acad?

Posted

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.

  • 11 years later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...