David,
This falls into the "yes you can, but why would you?" category. Here
goes nothing:
Fun facts about color themes: In the DK, you must specify a minimum of
two colors for a theme. The first color is used for the "other" category
(missing data), and any subsequent colors are used for the theme itself.
If you specify an insufficient number of colors, the system just cycles
back through the colors that were defined (except of course the 1st
color, which is applied only to missing data). So if you only define two
colors, all missing data will be one color and all actual data will be
another color. And if you want missing data to be the same color as the
rest of the theme, just use the same color twice.
This code will change a theme to a single color as long as there is only
one theme defined on the current layer. If it does not behave as
desired, uncomment (remove the double slashes) from the second line to
see what themes are currently defined; you may need to change the array
subscript (the number in the square brackets) in the 3rd line.
Note that colors in the DK are defined on a 0-65535 scale, unlike the
0-255 scale used in the GUI. In this code, missing data will be pure
red, while everything else will be pure blue:
thms = GetThemes()
// ShowArray(thms)
theme_name = thms[1]
clrs={ColorRGB(65535,0,0), ColorRGB(0,0,65535)}
SetThemeFillColors(theme_name, clrs)
RedrawMap()
P.S. I still don't quite get what you're trying to do. But it sounds
more and more like a candidate for a custom app. I recommend that you
contact Larry Manire or Armando Scalise via this list and see about
commissioning something that will manage your task automatically.
--- In [email protected], "David" <david@...> wrote:
>
> Is there an easy and quick way to create a color theme with all
categories being the exact same color/pattern?
>
> Alternatively, is there a way to do the same with 512 selection sets?
>
> Will need large same-color & pattern color themes and/or selection
sets on a routine basis so manually changing the colors would be too
time-consuming.
>
> I'm running Maptitude 2012.
>
> Thanks for any help!!!
>