I have created many shapes with different colors when i tried to convert it into a compound path all the path converted into a single color.

How can I do that with compound path or some other tool?

closed as off-topic by Zach Saucier, Mᴏɴᴋᴇʏ May 28 '16 at 14:13

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "If you're asking for help with implementation, please include what you've tried and why it didn't work with screenshots. Please edit your post with what your desired results are, what resources you referenced and why those didn't work. See this meta post for discussion and see this post on how to ask a good question." – Zach Saucier, Mᴏɴᴋᴇʏ
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Can you attach a screen shot or something and why do you want to convert it to compound path? – Rishab May 26 '16 at 5:42
  • are you looking to group the thing. – joojaa May 26 '16 at 6:58
  • No Actually I want to give a single gradient to all my paths @joojaa – Chenthuran Chen May 27 '16 at 8:38
  • Actually I want to give a single gradient to all my paths@Rishab – Chenthuran Chen May 27 '16 at 8:39
  • @ChenthuranChen then just apply the gradient to selection anw use gradient tool to set the gradient. There is no need to combine anything when you do this. – joojaa May 27 '16 at 10:05

You can't. A compound path is treated as one single path, that's the whole point of a a compound path.

Any fill, stroke, effect or anything applied to your compound path is applied to the whole compound path, not just one sub path.

If you want to color part of your compound path differently you will need to duplicate the parts you want to color as new paths... But then you may as well not bother converting it to a compound path in the first place.

  • Yeah Actually your point is right. But If i want to use a single gradient to all my shapes. what would be the solution? – Chenthuran Chen May 27 '16 at 8:43
  • If you want to use a single gradient across all the shapes then a compound path is what you want – Cai May 27 '16 at 9:18
  • actually I want the shapes to be in different colors and i want a fade out effect among those shapes using single gradient with 0% opacity on the left and 100% opacity on the right. The non faded shapes should be in different colors. @cai – Chenthuran Chen May 27 '16 at 10:15
  • If I understand you correctly the best way would be to color your shapes separately and group them, then duplicate the group and convert the duplicate to compound path and set the transparent gradient to that – Cai May 27 '16 at 11:29

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