Jump to content

Set scale of multiple blocks with basepoint?


CADkitt

Recommended Posts

I was looking for a script that can set the scale of multiple block to 1.

And keep them in-line.

So what the normal scale command does correct I want to do with a value.

The only way to do it now is to do a calculation like:

Scale is: 0.76

scale all to 1/0.76 but since autocad doesn't accept this calculation I have to do it first in the windows calculator and then copy and then adjust the , to . and then scale it...

 

Well that is even as much work then setting the blocks manual.

I was hoping such a small (as far as I know) script is around the interwebs but could not find it.

scaleerror.jpg

Link to comment
Share on other sites

If you select a block, you can just enter the scale in the Properties box - the insertion point doesn't change then. And you can do that for multiple blocks at once, select all and bring up the properties box. Or am I missing something in your question?

Link to comment
Share on other sites

If you select a block, you can just enter the scale in the Properties box - the insertion point doesn't change then. And you can do that for multiple blocks at once, select all and bring up the properties box. Or am I missing something in your question?

 

yes, if you use the properties they all scale from there own insertion point, if you use the normal scale they scale from 1 "base" point. Check my added image.

Link to comment
Share on other sites

So you want them to scale from the same basepoint? or do you want them to scale from their own insertion point? Or do you want them to scale from another point all together?

Link to comment
Share on other sites

Can't you just use the normal Scale command? Your point about the scale calculation taking as long as scaling each individual one is a stupid one. Moreover in the time you have spent searching the web for such a program you could have made the calculation anyway...

Link to comment
Share on other sites

Just use 'cal

 

Command: sc SCALE
Select objects: Specify opposite corner: 1 found

Select objects:

Specify base point: CEN
of
Specify scale factor or [Copy/Reference] <1.00>: 'CAL
>>>> Expression: 1/.76

Resuming SCALE command.

Specify scale factor or [Copy/Reference] <1.00>: 1.31578947

Link to comment
Share on other sites

Can't you just use the normal Scale command? Your point about the scale calculation taking as long as scaling each individual one is a stupid one. Moreover in the time you have spent searching the web for such a program you could have made the calculation anyway...

The problem is this is part of converting drawings from model space to paperspace. And has to be done a gazilion times.

 

@alanjt

I didn't knew 'cal pretty powerfull stuff! Tnx makes my work again a little better :lol:

Link to comment
Share on other sites

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