Page 1 of 1

Change color values based on variables

Posted: Fri Sep 02, 2016 5:38 pm
by nbarenbruegge
Hi,

is ist possible to change the cmyk-values of an object based on an action lists with variables?
Or perhaps "build" a custom spot color with these "variable" values and use it to create a new object with this color as stroke or fill.

The problem is that I would like to add a Line by an action list that has a custom spot color with userdefined cmyk-values.

Thanks,
Nils

Re: Change color values based on variables

Posted: Thu Sep 15, 2016 11:12 am
by Caiofabio
HI,
where are the variables? in a metadata or you have to grap them by pdf's object?

Re: Change color values based on variables

Posted: Fri Sep 23, 2016 8:29 am
by nbarenbruegge
Hi,
the variables should be used from switch-metadata.

I was wondering if there is maybe something like a "stringtype" to define the cmyk-values for an object. But as far as i can see this feature is not intended, because you can only set a boolean variable for fill/stroke to on/off.

Re: Change color values based on variables

Posted: Fri Sep 23, 2016 10:14 pm
by abailescollins
Sorry for the delay in responding. You're correct, it's not currently possible.
You can set a variable for a fill color, at least not yet.

It would be good to talk about how you see this working, so if you would like to, please drop me an email and we can discuss it.
andrewb@enfocus.com