Home > ZWCAD > Precision Tools >
Using color books

May 20, 2011

     ZWCAD uses color books to store collections of colors. For example, you can store a unique color scheme for a client in a color book and then use colors only from that color book for the client's drawings.

      You may have a color book given to you by a client, developed by a third party, or you can create your own. Each color book has an .acb extension and is saved in Extensible Markup Language (XML) format. By default, color books are stored in the Support folder By default, color books are stored in the Support folder under ZWCAD installation directory.

To create a color book

  1.   Start an XML editor program.

  2.   Create a new XML file using the format below as a guide.

<colorBook>
<bookName>Color 
book sample</bookName>
<colorPage>
<pageColor><RGB8><red>0</red><green>0</green><blue>0</blue></RGB8>
</pageColor><colorEntry>
<colorName>Orange</colorName>
<RGB8><red>255</red><green>128</green><blue>0</blue></RGB8>
</colorEntry>
<colorEntry>
<colorName>Light 
Green</colorName>
<RGB8><red>128</red><green>192</green><blue>128</blue></RGB8>
</colorEntry>
<colorEntry>
<colorName>Gray</colorName>
<RGB8><red>128</red><green>128</green><blue>128</blue></RGB8>
</colorEntry>
</colorPage>
</colorBook>

NOTE Your color book can contain an unlimited number of colors using the <colorEntry> and </colorEntry> tags.

  1.   Save the color book in XML format and with an .acb extension.


To load a color book

    Save the color book in the folder where ZWCAD searches for color books. By default, this is the same folder where you installed ZWCAD.

To select a color book color

  1. Click Select Color in the desired dialog box, such as Layers, Properties, or Multiline Text. The Color dialog box opens.

  2. Click the Color Books tab.

  3. Select a color book from the list.

  4. Click the desired color.

  5. Click OK.


Commands Referencee

COLOR: Sets the color for new objects

System Variables Reference

CECOLOR: Sets the color of new objects


 

PrintPrint Get a PDF version of this webpage PDF
2013 ZWCAD Software Co., Ltd. All rights reserved. | About ZWSOFT | Privacy Policy | Terms and Conditions | Contact us | Site Map