Copy link to clipboard
Copied
I have this object here made up of different parts. It has some parts that I can stretch horizontally, and some parts whose shape must not distort. I have a ton of this objects that I use all the time, and trying to individually manipulate each part is time consuming. So I was trying things out to improve the speed of my work flow.
So I tried converting some of its parts into "Symbols", using the "Enable Guides for 9-Slice Scaling. I even tried converting some of its parts into "Art Brushes", using the "Stretch Between Guides" in its "Brush Scale Options."
But the outcome results in some problems. When I finally have the object with its converted parts, when I tried stretching the object, the edges of the converted parts don't perfectly align with the edges of the green rectangle and its center. I did this with the "Symbols" and its "9-Slice Scaling", and also tried it with converting it into an "Art Brush" and its "Stretch Between Guides." It's not resulting into what I want.
I tried many stuff in order to make the edges of the converted parts align with the edges and the center of the green rectangle, like converting the green rectangle into a "Symbol" or an "Art Brush" itself, but it's not working. Now I'm stuck. Another problem is, I also have other objects like the first one that I also need to create a shortcut with
I need help, can anybody point me to a tool or a feature I don't know of that will help me in this situation?
As promised, here's the narrated version, with a slight amendment to my above (quick reply) as I didn't feel that creating this entirely with effects on text properly addressed the alignment:
Copy link to clipboard
Copied
Hi
You could try this approach, maybe:
Hope that helps and if I get chance today, I'll add a video showing this process.
Copy link to clipboard
Copied
Hi (again)
After posting I decided that you could almost or probably do this all with just text, and effects. I've recorded a very quick (silent) video showing the steps to reproduce, and tomorrow (Monday 28th March 2022) will record a narrated version on my YouTube Channel, where I'll also address the alignment. In the meantime, here's the quick video that will hopefully at least get you started:
Copy link to clipboard
Copied
And again, further to my last, you can go into the group and add/delete instances as desired.
Copy link to clipboard
Copied
As promised, here's the narrated version, with a slight amendment to my above (quick reply) as I didn't feel that creating this entirely with effects on text properly addressed the alignment:
Copy link to clipboard
Copied
Z,
Possibly far too far out/silly/simple, but based upon the assumption that in all cases the A-BLUE-A (the A part including the yellow and the black frame round the A) and the B-RED-B (the B part including the yellow and the black frame round the B) are to be stretched by the same amount/proportion, but only the BLUE and the RED are stretched whereas the A parts and the B parts are to be kept unstretched:
How about this?
1) With the GREEN as a common background, Group the/each A-BLUE-A instance, and Group the/eachB-RED-B instance;
Keep the GREEN background unlocked, and:
2) Lock (all) the Group(s) except the leftmost one, then ClickDrag over the entirety of the leftmost A part along with the leftmost parts of the GREEN and the BLUE to select all Anchor Points of the A part as well as the leftmost Anchor Points of the GREEN and the BLUE (avoiding to ClickDrag over the rightmost A part); then Object>Transform>Move and insert the negative X value that gives the desired stretch of the whole Group (and the correspond part of the GREEN background), such as the current width if you wish to double it;
If/as long as you have more than two Groups as in Object 2 and Object 3, contimue with the following:
3) Unlock the next Group to the right and repeat 2), only ClickDragging over the unlocked Groups (avoiding to ClickDrag over the rightmost A/B part) and apply the same Move;
When you have reached the middle, reverse 2) and 3) working from right to left and using the same Move, only positive.
Copy link to clipboard
Copied
Why can't you align the symbol instances? It shouldn't be a problem with Smart Guides turned on.
What happens with symbols is that live text gets distorted. This can be solved with the Outline Object effect applied to them.
Then arrange your objects and group them and then apply a rectangle effect to the group. In order to perfectly align the rectangle, the rectangle effect must be followed by an Offset path effect that shifts the stroke inwards by half of its weight.
Copy link to clipboard
Copied
The behaviour you are describing is quite normal because the edges of the bars do not abut as it would be required in this case.
It actually does work with art brushes and symbol instances. It is just important that their bounding boxes (edges) precisely touch each other horizontally. It's a slightly different appearance, but that should be acceptable.
See this sample .ai file.
It contains two groups with art brushes and symbol instances. If you select all and scale horizontally 1000 % (while Scale Strokes and Effects is turned off), you can see that the bars are still aligned accurately.