What is the autocad tool like "transform each" in Adobe Illustrator?

What is the autocad tool like "transform each" in Adobe Illustrator?

jetted4
Advocate Advocate
1,263 Views
11 Replies
Message 1 of 12

What is the autocad tool like "transform each" in Adobe Illustrator?

jetted4
Advocate
Advocate

The normal Autocad scale and rotate, if you use them on multiple objects at the same time, treats it as one big group and uses a single base point for transforming all of them together as if they were one.

 

But I have a bunch of objects I want to rescale in their own positions, not as a group from one point.

 

I know I watched a tutorial at some point that showed a tool in Autocad that allows you to transform the rotation or scale of multiple objects at the same time from each of their own geometric centers like the "transform each" tool in Adobe Illustrator.

 

Anyone know what it is called?

0 Likes
1,264 Views
11 Replies
Replies (11)
Message 2 of 12

vladimir_michl
Advisor
Advisor

You can just use the Properties palette and change the object scales there. Or you can use a LISP tool like this one (belongs rather to the Customization forum):

 

;scaling to individual ref.points
;www.cadforum.cz
;
(defun C:ScaleIT ( / ss ssl i ename edata ipt)
  (princ "\nSelect objects to scale individually")
  (setq ss (ssget))
  (if ss (progn
   (command "_undo" "_beg")
   (setq ssl (- (sslength ss) 1))
   (setq ename (ssname ss ssl))
   (setq edata (entget ename))
   (setq ipt (cdr (assoc 10 edata)))
   (command "_scale" ename "" (trans ipt 0 1) pause) ; interact
   (command)
   (setq ssl (1- ssl))
   (while (>= ssl 0)
      (setq ename (ssname ss ssl))
      (setq edata (entget ename))
      (setq ipt (cdr (assoc 10 edata)))
      (command "_scale" ename "" (trans ipt 0 1) "")
      (command)
      (setq ssl (1- ssl))
   ) ; while
   (command "_undo" "_end")
   (princ "Done.")
  ))
  (princ)
)

 

Vladimir Michl, www.arkance-systems.cz - www.cadforum.cz

 

0 Likes
Message 3 of 12

jetted4
Advocate
Advocate

I am not seeing anything that would allow me to scale objects in the properties panel...(printscreen below)

 

I will have to hunt for the tutorial that I saw on Lynda.com because I thought I remembered there being a way directly within Autocad to rescale multiple objects in their respective places without needing a lsp program.

 

 

jetted4_0-1638759657453.png

 

0 Likes
Message 4 of 12

johnpatrick1879
Explorer
Explorer

I will agree with Vladimir you can try this. 

 

0 Likes
Message 5 of 12

vladimir_michl
Advisor
Advisor

You need to select (shift-pick or window or lasso) the objects to scale.

 

Vladimir Michl, www.arkance-systems.cz - www.cadforum.cz

 

0 Likes
Message 6 of 12

RobDraw
Mentor
Mentor

Even if you find that video, you will find it is only possible with certain objects of the same type or with code.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 7 of 12

pendean
Community Legend
Community Legend

You have nothing selected, that's why you see nothing to do: are you very new to AutoCAD if I may ask?

 

pendean_0-1638801834144.png

 

0 Likes
Message 8 of 12

jetted4
Advocate
Advocate

No I am not new to autocad... I had had the rectangles all selected when I was checking the properties palette but didn't notice that I deselected them before taking the screen shot.

Here is the correct screenshot.  I have the properties palette open at the right but I still do not see anything that would enable me to rescale all of the objects simultaneously in their own place. 

 

In Adobe Illustrator it is easy - just use Ctrl-Shift-Alt-D ("Transform Each") and it doesn't matter what sorts of objects they are you could have a grouped complex geometry selected and a circle selected at the same time; it rescales or rotates the objects from their own respective geometric centers (or their respective Top/Middle or Left/Middle or etc...depending on what option you choose).

 

jetted4_0-1638832757905.png

 

Here's one with a circle thrown in, which reduces the options in the properties palette further, but would still be a piece of cake to transform in place if using Illustrator...

jetted4_1-1638833209456.png

 

 

0 Likes
Message 9 of 12

RobDraw
Mentor
Mentor

"The cake is a lie."

 

Not every object in AutoCAD has a scale property that can be adjusted. In fact very few can be scaled in this fashion. Blocks, for one can be. Try selecting different types of objects and take a look at the properties. 


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 10 of 12

jetted4
Advocate
Advocate

Just to show a quick example in Adobe Illustrator.  I drew some random shapes and also a group (the red and green items are the group)

 

(1) Here are the shapes and group:

jetted4_1-1638836436013.png

 

(2) Now with the "Transform Each" panel open (but preview turned off so you still see the shapes in their original sizes). My option at the right of the panel is to rescale from the geometric center.  I have my horizontal and vertical scale both set to 50%:

 

jetted4_4-1638836592140.png

 

(3) I click Enter and this is the result.  Each has been rescaled in place; the group of objects was rescaled as if it were a single item so they retain their respective positions within the group and all of the ungrouped individual items were rescaled in place.  Super easy:

jetted4_5-1638836694768.png

 

Autocad is super powerful in so many ways, it puzzles me that this same functionality is not available, especially given how helpful it is to be able to rescale multiple items in place.

 

I will try the lsp program Vladimir provided.  Thanks  🙂

0 Likes
Message 11 of 12

RobDraw
Mentor
Mentor

Yeah, the problem is expecting completely different programs to work the same. 

 

Good luck!


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 12 of 12

vladimir_michl
Advisor
Advisor

There is an enhanced version of that tool - ScaleBB - which works more interactively. It performs both scaling and rotation, and you can select the reference frame for the individual scaling/rotation (ref.point, center or lower-left point).

See the tip https://www.cadforum.cz/en/scalebb-scale-multiple-objects-to-their-ref-points-or-boxes-tip13158

and sample video:

 

 

Vladimir Michl, www.arkance-systems.cz - www.cadforum.cz