Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

I have a box with a list of labels inside of it and a separator line between each label. Now I want to cut all these shapes by a vertical line, say remove the left 50% part and keep the right 50% part with a "razor sharp" cutting edge. Pretty much the same as how you in Photoshop select an area of a rasterized layer, invert the selection and delete the outside of the selection. How do I achieve this with vectorized graphics in Illustrator? Expand and then select -> remove, rasterize -> select remove...? I can't get it to work.

EDIT : Illustration of what I'm trying to do.

enter image description here

share|improve this question
    
which version of AI? Screen shot? –  vector Jun 19 '13 at 13:24
    
@vector it's CS6, I've updated the question. Thanks –  AndroidHustle Jun 19 '13 at 13:30
    
@vector Thanks! I started out trying what you described, I draw a rectangle over the area I wanted trimmed, selected all elements, right clicked, but then tried creating a clipping mask. Then everything BUT what I wanted trimmed disappeared, so I simply did it again but the other way around and it worked. So thanks. =) –  AndroidHustle Jun 19 '13 at 13:40
    
... so if I make that an answer, you'd take it? –  vector Jun 19 '13 at 14:03
    
@vector sure, no problem –  AndroidHustle Jun 19 '13 at 14:11
add comment

2 Answers

up vote -1 down vote accepted

I think you need a 'compound path', draw a rectangle over all the elements, select all you want to clip and make a compound path. Exact particulars are a bit foggy to me, but that's the general idea, google that for AI CS6

share|improve this answer
add comment

Clipping mask.

Draw a rectangle which covers the section you want to keep.

Select the rectangle and the objects you wish to clip and then choose Object > Clipping Mask > Make from the menu.

This will mask the portion you do not want visible. This is similar to a layer mask in Photoshop as opposed to deleting raster bits in Photoshop.

The benefit of a clipping mask is that it doesn't remove or alter the underlying artwork. In this case, it will keep your text in tact so you can edit it further should you need to and a clipping mask won't change the length of the gradients (which would cause the need to reset the gradient fills).

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.