Replace colors

获得 Defense Mapping 许可后可用。

获得 Production Mapping 许可后可用。

Using the Replace Colors tool, you can replace colors in a map, layout, or style in the catalog view. Use this tool to update color mapping, including specification-driven color changes, in which updates apply to all colors in a product.

提示:

The Replace Colors button 替换颜色 appears on the Manage tab for mapping, layout, and styles in the catalog view.

Replace colors for a selected item in a map

When applied to a map, colors of all symbol parts can be replaced.

View all the colors in a map and update them using the following steps:

  1. Click the View tab on the ribbon.
  2. In the Windows group, click Catalog View 目录视图.

    The catalog view opens in ArcGIS Pro.

  3. In the catalog view, double-click to open the Maps folder.

    The maps in the Maps folder are listed. The Manage tab appears on the ribbon with the Mapping tab shown.

  4. Click the map you want to update in the catalog view.
  5. Click the Mapping tab.
  6. On the Mapping tab, click the Replace Colors button 替换颜色.

    The Replace Colors dialog box appears with the map item active in the Item drop-down list.

    提示:

    Click the Item drop-down list to choose a different map.

  7. Click Load Colors.

    The map colors are loaded in the Replace colors section, with current colors in the Current color column and target colors in the Target color column. The target color and the current color are the same unless you change them.

  8. Do any of the following to update or export the map colors:
    • Click a target color's drop-down arrow and choose a different color from the ArcGIS colors palette.
    • Click the Add color button 添加颜色 in the Replace colors section to add a new color.
    • Choose a color in the Replace colors section and click the Remove colors button 移除颜色 to delete the color or colors.
    • Click the Load colors from color mapping file button 从色彩映射文件加载颜色 in the Replace colors section to open a color mapping file (.ccrx).
    • Click the Save colors to color mapping file button 将颜色保存到色彩映射文件 to export the colors to a .ccrx file.
  9. Do either of the following to apply your color updates:
    • To apply updates to the existing map, click Update existing and click OK.
    • To apply updates to a new copy of the map, click Create new, type a name for the new map in the text box, and click OK.

    The map colors are updated. If it's a new map, it is added to the maps list in the Maps folder.

Replace colors for a selected item in a layout

When applied to a layout, colors of all symbol parts can be replaced.

View all the colors in a layout and update them using the following steps:

  1. Click the View tab on the ribbon.
  2. In the Windows group, click Catalog View 目录视图.

    The catalog view opens in ArcGIS Pro.

  3. In the catalog view, double-click to open the Layouts folder.

    The layouts in the Layouts folder appear. The Manage tab appears on the ribbon with the Layout tab shown.

  4. Click the layout you want to update in the catalog view.
  5. Click the Layout tab.
  6. On the Layout tab, click the Replace Colors button 替换颜色.

    The Replace Colors dialog box appears with the layout item active in the Item drop-down list.

    提示:

    Click the Item drop-down list to choose a different layout.

  7. Click Load Colors.

    The layout colors are loaded in the Replace colors section, with current colors in the Current color column and target colors in the Target color column. The target color and the current color are the same unless you change them.

  8. Do any of the following to update or export the layout colors:
    • Click a target color's drop-down arrow and choose a different color from the ArcGIS colors palette or click the Color Properties button and choose a replacement color from the Color Editor.
    • Click the Add color button 添加颜色 in the Replace colors section to add a new color.
    • Choose a color in the Replace colors section and click the Remove colors button 移除颜色 to delete the color or colors.
    • Click the Load colors from color mapping file button 从色彩映射文件加载颜色 in the Replace colors section to open a color mapping file (.ccrx).
    • Click the Save colors to color mapping file button 将颜色保存到色彩映射文件 to export the colors to a .ccrx file.
  9. Do either of the following to apply your color updates:
    • To apply updates to the existing layout, click Update existing and click OK.
    • To apply updates to a new copy of the layout, click Create new, type a name for the new layout in the text box, and click OK.

    The layout colors are updated. If it's a new layout, it is added to the layouts list in the Layouts folder.

Replace colors for a selected item in a style

When applied to a style, colors of all symbol parts can be replaced.

View all the colors in a style and update them using the following steps:

  1. Click the View tab on the ribbon.
  2. In the Windows group, click Catalog View 目录视图.

    The catalog view opens in ArcGIS Pro.

    Learn more about using the catalog view

  3. In the catalog view, double-click to open the Styles folder.

    The styles in the Styles folder appear. The Manage tab appears on the ribbon with the Styles tab shown.

  4. Click the style you want to update in the catalog view.
  5. Click the Styles tab.
  6. On the Styles tab, click the Replace Colors button 替换颜色.

    The Replace Colors dialog box appears with the style item active in the Item drop-down list.

    提示:

    Click the Item drop-down list to choose a different style.

  7. Click Load Colors.

    The style colors are loaded in the Replace colors section, with current colors in the Current color column and target colors in the Target color column. The target color and the current color are the same unless you change them.

  8. Do any of the following to update or export the layout colors:
    • Click a target color's drop-down arrow and choose a different color from the ArcGIS colors palette or click the Color Properties button and choose a replacement color from the Color Editor.
    • Click the Add color button 添加颜色 in the Replace colors section to add a new color.
    • Choose a color in the Replace colors section and click the Remove colors button 移除颜色 to delete the color or colors.
    • Click the Load colors from color mapping file button 从色彩映射文件加载颜色 in the Replace colors section to open a color mapping file (.ccrx).
    • Click the Save colors to color mapping file button 将颜色保存到色彩映射文件 to export the colors to a .ccrx file.
  9. Do either of the following to apply your color updates:
    • To apply updates to the existing style, click OK while the Update existing option is chosen.
    • To apply updates to a new copy of the style, click the Create new option, type a name for the new style in the text box, and click OK.

    The style colors are updated. If it's a new style, it is added to the styles list in the Styles folder.