"Reset Bounding Box" on rotated items?

Enthusiast ,
Mar 18, 2009 Mar 18, 2009

Copy link to clipboard

Copied

Hi,

Is there an InDesign equivalent to "reset bounding box" (an Illustrator option) on rotated items? I'm working on a layout with a bunch of angled text boxes. It'd be helpful if I could change their bounding boxes to straight again, though I couldn't find an option for that. Thought I'd ask in case I've overlooked it.

Thanks, Phyllis

Views

50.9K

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Oct 11, 2017 Oct 11, 2017

Do the rotation while you are in Direct Selection Mode:

  1. Select the object with Selection Tool
  2. Click the Direct Selection Tool
  3. Type in the angle in the Transform panel. Enter
  4. Go back to Selection Tool

If the objects are already rotated:

  1. Select the object with Selection Tool
  2. Copy the angle of rotation from the Transform panel
  3. Set the angle to zero. Enter
  4. Click the Direct Selection Tool
  5. Paste in the angle in the Transform panel. Enter
  6. Go back to Selection Tool

You don't have to use pathfinder, compound path or

...

Likes

Translate

Translate
Adobe Community Professional ,
Mar 18, 2009 Mar 18, 2009

Copy link to clipboard

Copied

If there is, I've never found it. ID preserves the absolute (total) rotation of the original object unto the end of document life. :)
|| Word & InDesign to Kindle (& EPUB): a Professional Guide (Amazon)

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 19, 2009 Mar 19, 2009

Copy link to clipboard

Copied

In my opinion, that's a good thing. Any rotation angle is recorded and can be used later by the smart guides feature.

Have you considered rotating graphic content inside the frame instead of rotating the frame? I doubt that's any better, but it would keep the bounding box oriented.

Peter

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 19, 2009 Mar 19, 2009

Copy link to clipboard

Copied

Draw a small box (no fill, no stroke).
Place on top of the rotated object.
Select both.
Chose Pathfinder and press Add icon.

Cris.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 19, 2009 Mar 19, 2009

Copy link to clipboard

Copied

Hey thanks,

I'm working with text rather than graphics so unfortunately I can't rotate just the content (as far as I can tell -- not even if I convert to outlines). I tried the Pathfinder suggestion although that just turns everything into a single box (eliminates any content of the original) but did give me the idea that just grouping an empty frame with the angled one would work better. So thanks! I'd agree that it's helpful to keep a record of the rotation angle, but sometimes when there are a bunch of these, it's hard to work with angled bounding boxes. But I'll try the grouping technique -- I never thought of that!

Thanks, Phyllis

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 17, 2012 May 17, 2012

Copy link to clipboard

Copied

You would have to convert the text to paths for the pathfinder to work. You may have to use a different option than Add. Possibly Intersect and refill the shapes. It worked for me.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

Object > Transform > Reset Bounding Box. Boom!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

You do know that command is not availble in InDesign, right? That was the whole point of this thread.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

Doh! You caught me Peter. That's what I get for trying do too much at once!

For InDesign, reset the bounding box in Illustrator, copy it, paste it into InDesign.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

Still not quite on point, I'm afraid. Phyllis was working with text frames creted in ID, so Illustrator is out of the loop.

This is one of those cases where it just isn't going to happen.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

Clear Transformation option might help you, you can find the option in the Flyout menu of the Transform panel in InDesign.

Th result may vary upon the transformation and the rotation of the text box and the text.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

Hi Manish.

I think maybe you are misunderstanding the question, or I'm misunderstanding your intent in clearing the transformations. Let's go back to Illy for a sec and look at what the reset bounding box command does. If you, for example, draw a rectangle and rotate it, the bounding box, in both Illustrator and ID, rotates along with the rectangle. In illustrator, if you use the rest bounding box command a new, larger, bounding box without rotation is drawn around the original rotated object. That  command is not availble in ID.

If, on the other hand, you use the clear transformations command, your rectangle loses the rotation you originally applied. I don't think that was the intent here.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

Hi Peter & Manish!

See the left square vs. the right square (both are rotated).
Both screen shots are done in InDesign.

RotatedSquare.png

ResetBoundingBox_FakedWithAOneObjectGroup.png


Btw. the scripting property "geometricBounds" a.k. "BoundingBox" has the same values (70,711 x 70,71 mm) for both objects.

I have "faked" the right rotated square: it is a group with only ONE single object, the square.
You cannot do that in the UI, but it's perfectly possible by scripting:

Just create a group with two objects (the rotated square with a second rectangle),
select only the second rectangle inside the group and run the following JavaScript (ExtendScript) code on the selection:

app.selection[0].remove();

What you get is a group object with only one object inside.

The group itself is not rotated, just its only member inside, so the size of the group is your "BoundingBox" (= the geometricBounds of your rotated square) 😉

Illustrator manages to show the values for the right representation of the rotated square, if you reset the bounding box.

Uwe

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

Uwe, where weere you six months ago?

I bet Phyllis could really have used this.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 01, 2012 Dec 01, 2012

Copy link to clipboard

Copied

@Peter – this was just a trick to show the geometricBounds with the UI Info palette in InDesign.
I don't think she could have used it (other than seeing the values). What she liked to do and what will be like using the "Reset BoundingBox" feature in Illustrator would be another thing.

I can demonstrate that with a text frame that is rotated. And btw. Cris showed a solution, or at least part of a solution in #3 of this thread. The problem with that is, that the text will be lost.
Here some screen shots to illustrate the problem:

1. A rotated text frame together with a text frame after choosing the Illustrator only "Reset BoundingBox" feature. The screen shot is from Indesign after proceessing and post-processing the solution Cris has introduced:

ResetBoundingBox_TextFrame.png

And here the steps Cris suggested:

1. Draw a small rectangle over the rotated text frame
2. Select the text frame and the small rectangle and choose "Add" from the pathfinder palette
Result: the text frame will loose its contents during the process, because its converted into a path object

And: all graphic properties like fill color etc. are that of the small rectangle
So, you have to:

1. Convert the path object to a text frame

2. Apply all other properties of the original text frame to the converted one (eg. by using a object style)

3. Copy the text of the original text frame to the new one

TheMethodOfCris.png

I would suggest a different thing. Instead of using a rectangle that is added to the text frame, use a small duplicate version of the original text frame, that is NOT rotated.
Then it is a 2-step process and you have not to post-process anything to get the text or the graphical properties of the original back in:

ElaborateMethodWithAddPath1.png

Here the result selected with the Selection Tool:

ShowingTextFrameWithSelectionTool.png

Here selected with the Direct Selection Tool:

ShowingTextFrameWithDirectSelectionTool.png

I think this could be scripted as a 1-step process. But I had no time of doing so…

@Manish – and that would be no one line script 😉

Uwe

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

You are right as always, Peter..

When working with Text box in Illustartor then the text doesn't rotate along the text box but re-align itself however in InDesign the text rotate itself with the text box except in the situation when we rotate the box with Direct selection tool. This is a big and basic difference in the funtionality of InDesign and Illustartor. So , there is no option nativly in InDesign like Illustrator to reset bounding box but to clear transformation.

If OP want (not clear to me) the text in the text box also to straighten then Clear tranformation may help however not when the text is needed to remain rotated .

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Nov 30, 2012 Nov 30, 2012

Copy link to clipboard

Copied

Thanks Laubender , I knew it could be scripted but was not aware a single line script will make it work.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

U r best

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 11, 2017 Oct 11, 2017

Copy link to clipboard

Copied

Do the rotation while you are in Direct Selection Mode:

  1. Select the object with Selection Tool
  2. Click the Direct Selection Tool
  3. Type in the angle in the Transform panel. Enter
  4. Go back to Selection Tool

If the objects are already rotated:

  1. Select the object with Selection Tool
  2. Copy the angle of rotation from the Transform panel
  3. Set the angle to zero. Enter
  4. Click the Direct Selection Tool
  5. Paste in the angle in the Transform panel. Enter
  6. Go back to Selection Tool

You don't have to use pathfinder, compound path or convert frame type.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 07, 2018 Jun 07, 2018

Copy link to clipboard

Copied

Brilliant! That worked perfectly.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

How do you reset a bounding box?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

The reason why Reset Bounding Box is grayed out in Illustrator is because the feature does not work on certain shapes and lines. To fix this, click on the shape and navigate to Object > Shape > Expand Shape in the menu. You should now be able to reset the bounding box

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

LATEST

Hi @stefan25427713ed4d ,

did you read the Correct Answer in this thread from 2017?

It's still correct in 2022 with InDesign's latest version.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines