Skip to main content
Inspiring
June 17, 2020
Answered

None colour swatch

  • June 17, 2020
  • 6 replies
  • 2831 views

Hi. I guess I know the answer to that (no) but wanted to double check with forum members.

Is it possible to create a swatch with colour "None"? "None" is available as a swatch in the swatches panel but I cannot create a swatch and set its values to "None".

This is for CS4. Thanks.

This topic has been closed for replies.
Correct answer Charu Rajput

Hi,

As far as I know, A simple answer to your question is

No, you cannot. Also, you cannot duplicate [None] swatch or give this name to any other swatch.

6 replies

Kurt Gold
Community Expert
Community Expert
June 18, 2020

I beg for pardon. I missed the point that you already mentioned that you are using Illustrator CS 4.

 

The distinction between static and dynamic symbols is only available in more recent versions of Illustrator.

 

Using those newer versions may help you a lot to do what you want.

CarlosCanto
Community Expert
Community Expert
June 18, 2020

 

sPretzelAuthor
Inspiring
June 18, 2020

Hi Carlos. Sorry for the apparent contradiction. I further explained what I was trying to do in replying to Monika. The latter part of the sentence you highlighted also attempts to explain that. I do appreciate that you took the time to come up with a possible solution via script.

CarlosCanto
Community Expert
Community Expert
June 18, 2020

no worries sPretzel, 

Kurt Gold
Community Expert
Community Expert
June 18, 2020

Are you using static symbols or dynamic symbols?

sPretzelAuthor
Inspiring
June 18, 2020

Hi Kurt. Are you referring to "graphic" or "movie clip" type, as symbols were described in CS4? I thought that only mattered for flash.

CarlosCanto
Community Expert
Community Expert
June 18, 2020

I'm sorry but I did not understand how you wanted to use an additional no-fill swatch. Nonetheless, I went ahead a gave it a try with a script. I was able to create it, but as with the original [None] swatch, you can't do much with it, other that applying it.

 

// create a None (no color) swatch
// carlos canto 06/17/2020

var idoc = app.activeDocument;

var s = idoc.swatches.add();
s.name = 'None';
s.color = new NoColor();

 

 

Charu Rajput
Community Expert
Community Expert
June 18, 2020

Thanks Carlos for this info.

Can we do this without script as well?

I could not find NoColor option on UI.

Best regards
Charu Rajput
Community Expert
Charu RajputCommunity ExpertCorrect answer
Community Expert
June 17, 2020

Hi,

As far as I know, A simple answer to your question is

No, you cannot. Also, you cannot duplicate [None] swatch or give this name to any other swatch.

Best regards
sPretzelAuthor
Inspiring
June 17, 2020

Hi Charu. I suspected that. It's unfortunate that it can't be done because it would be useful.

Charu Rajput
Community Expert
Community Expert
June 17, 2020

Hi,

I am not sure why you want to specifically use [NONE] and change later, I mean if you can describe any reason behind that or your worflow, may be we can come up another solution.

Best regards
Progressive Graphics VB
Inspiring
June 17, 2020

Have to ask, as there already is a swatch is there a particular reason you need a duplicate?

sPretzelAuthor
Inspiring
June 17, 2020

Yes, I want to be able to change the value later on, as a global swatch. Unfortunately, I am not aware of any way of setting the values to "None".

Progressive Graphics VB
Inspiring
June 17, 2020

What is the purpose of the change?

What's the end result trying to achieve?

Is this just for one element or multiple?