When I take a Vector image from Illustrator and drop it into InDesign, and then go to shrink the image down, I get this message: Requested value is not a legal dimension.
Tell us more.
I get that when the vector has gradient fills from ID or occasionally with grouped objects. I usually have no problems if I use Object>Transform>Scale, or type in the scale value. It's just the click and drag that seems to have problems.
Ok. Yes, my question did leave out a few crucial details as pointed out.
I am using version CS4.
I believe I pasted but am unsure. I copy pasted.
I am attempting to resize by stretching the corner of the image box.
You should save your artwork as an Illustrator .ai file then import using File > Place. Because you pasted the artwork is not treated as one single graphic but as a group of native InDesign objects. Small objects and details are being scaled down until the details are beyond InDesign’s ability to distinguish individual details.
I used to also see something similar when scaling an Illustrator graphic grouped with InDesign text. It helped to scale more slowly or in smaller steps -- I think ID had touble keeping up with the screen draw.
I just got this error (and found this post by searching google), when creating a little, simple (fewer than 20 points) vector shape directly within InDesign (CS5.5, Mac) using the Pen tool.
I created the shape, and then tried to shrink it down ~50% to fit into the space I'm needing it to fit inside. At first, it did something I've never seen before: I clicked the corner, held down Shift to lock the aspect, and then started to drag. The preview outline box shows me what I expect (an outline getting smaller), but when I let go, the shape returns back to the previous size and location.
Feeling confused and frustrated by this, I then tried to use the actual "size" dialogs within the quick toolbar or whatever that contextual thing on top is called. That's when I get the "Requested value is not a legal dimension" error. I looked at my shape very closely, and there is nothing special about it at all. The shape itself is over 2 inches wide, composed of two separate lines. I need it to be just over 1 inch wide. Strangely, when I turn it into a compound path, the error goes away. It doesn't look like the excuse given for this behavior in this thread really holds up under testing.
With that tool you are only sizing the frame unless, not the content, when you hold the shift key unless you've already selected the content first, in which case you are sizing only the content, and not the frame. You need to press Cmd (Ctrl on Windows) to scale the content at the same time you size the frame when using the selection tool wit the frame selected.
Peter, I know you're trying to help, but my method of tool selection/usage is not an issue. I have been using InDesign on a Mac every weekday since v. 2.0 came out and I switched from QXP 3.3. I use keyboard shortcuts like most people use forks and spoons. Maybe I didn't describe what I did properly because I am so used to the keyboard shortcuts that I'm not even aware of everything I'm doing. I had the frame selected, and I was resizing both the frame and the content proportionally when the "snap-back" error occurred. You're right that I was holding down command in addition to shift. I only mentioned shift to indicate that I was resizing proportionally. As a test, I just tried putting the vector object group into a separate rectangular frame and resizing it that way, both by selecting the vector shapes of the group, and by selecting the frame. I am unable to resize the contents of the frame irregardless of which way I do it. I have uploaded the object to my Dropbox account for you to look at it. http://dl.dropbox.com/u/20763863/error_sample.indd.zip
I tried your samples here, and they work fine, so it has to be something funky on your system. As I mentioned way up in the thread I used to see problems if I tried to scale too fast, so you might want to try moving a little slower. You might also wnat to try trashing the prefs. See Replace Your Preferences
Had the exact same problem, Ben. For me, it was a grouped ID line drawing. I was able to shrink by ungrouping, but that's not the answer I was looking for. Instead, changing a preference did the trick: In Preferences, General, I check "Adjust Scaling Percentage." Hope that works for you.
Europe, Middle East and Africa