Fill & Line Color
A palette for the colors and pens of 2D drafting: it follows your selection, edits fill colors as RGB, sets pens and pen weights, gives lines an RGB color, selects everything of the same color or pen, and simplifies dense linework.
It works on fills and on lines, arcs and circles, polylines and splines in the floor plan, sections, elevations, interior elevations, details, worksheets, 3D Documents and layouts. Every change goes to the whole selection as one step you can undo.
Workflow
Open the palette
To open the palette:
- Choose KK Tools › Fill & Line Color › Fill & Line Color Palette, or Window › Palettes › Fill & Line Color.
- Select fills or lines in the drawing. The palette shows their colors and pens straight away.
The palette stays open as you work and updates whenever the selection changes. Choose the command again, or click the palette's close button, to hide it.
Change fill colors
To change the color of the selected fills:
- Select one or more fills.
- In Edit, set Apply to to Fill foreground, Fill background or Fill foreground + background.
- Set the color with the R G B or H S V sliders or fields, type a Hex code (such as #9A5F3F), or click Pick Color… for the Mac color panel.
A slider changes the fills when you let go of it; a field or the hex code when you press Return or leave it. Fills that used a pen for that side become RGB fills.
| Button | What it does |
|---|---|
| Desaturate | Turns the selected fills' color (the side in Apply to) into the gray of the same lightness. |
| Convert Pens to RGB | Gives fills that take their color from a pen that same color as RGB, so they no longer change when the pen does. |
Change pens and pen weights
To give the selection a pen:
- Select fills or lines and set Apply to.
- Pick the pen in the Pen picker. For Fill background the picker also offers transparent and window background.
A fill that had an RGB color on that side takes the pen instead.
Weight beside the picker shows the pen's weight in the active pen set, in points as in Options › Pens & Colors. Typing a new weight changes the pen itself in the active pen set, so everything drawn with that pen changes, as in Pens & Colors.
Give lines an RGB color
Archicad's lines, arcs, polylines and splines only take a pen. To give them any RGB color, set aside a range of pens that KK Tools may recolor (once per project), then color lines like fills.
To set aside the RGB pens:
- In Edit, click RGB Pens….
- Click the pens KK Tools may use in the pen grid; Shift-click another pen to add or remove the whole rectangle between the two. Or type ranges such as 10-20, 30-40.
- Click OK. The range is saved in the project.
To color lines:
- Select the lines and set Apply to to Line pen.
- Set the color with the sliders, the hex code or Pick Color….
For each different pen among the selected lines, KK Tools takes a pen from the range (or one it already gave that color and weight), sets it to the color in every pen set with the weight the lines' old pen has in that pen set, and moves the lines onto it. The lines change color and keep their lineweight in every pen set. The palette shows how many RGB pens are used.
Select by color or pen
To select everything of the same color or pen:
- Select one fill or line to match, or select nothing and set the search color in Edit.
- In Select Same, set Match: a fill side, both fill sides, or Line pen.
- Click Select Same. Shift-click it to add to the current selection instead.
| Option | What it does |
|---|---|
| Color tolerance | 0 finds exactly the same color (at 8 bits per channel); higher values also find colors that differ by up to that much in each of red, green and blue. |
| Include pen-based fills | Also finds fills whose color comes from a pen of that color. Off: only fills with that RGB color. |
| Only visible, editable layers | Leaves out elements on hidden or locked layers. |
Select Same searches the current window. Line pen finds lines, arcs, polylines and splines drawn with the same pen.
Simplify linework
Linework copied out of a 3D Document can hold tens of thousands of short lines: every round hole or edge becomes a ring of tiny segments, which makes selecting and redrawing slow. Simplify Linework rebuilds it with far fewer elements that draw the same.
To simplify linework:
- Select the lines, for example everything you pasted from a 3D Document.
- Choose KK Tools › Fill & Line Color › Simplify Linework…, or click Simplify Linework… in the palette.
- Choose the options (see Simplify Linework dialog) and click Simplify.
The palette then shows the result, for example 14051 lines → 2310 elements. It's one step: Undo brings the original lines back.
The palette
Palette layout
| Part | What it shows or does |
|---|---|
| Header | The KK Tools logo, the version and build date (quote them with any problem report), and ? for this help. |
| Status line | How many fills and lines are selected. With thousands selected, the colors are read from the first 300 of each; edits and Select Same still use all of them. |
| Selection | The fill foreground, fill background and line pen of the selection: a swatch, the hex code, and the pen when it's pen-based. varies when they differ. Simplify Linework… is here too. |
| Select Same | See Select by color or pen. The line under the button reports what was found. |
| Edit › Apply to | What the pen and color go to: a fill side, both fill sides, or the line pen. With only fills or only lines selected it switches to suit. |
| Edit › Pen, Weight | See Change pens and pen weights. |
| Edit › RGB color | Preview, hex code, Pick Color…, RGB and HSV sliders, Desaturate and Convert Pens to RGB. For lines it works once RGB pens are set up. |
| RGB pens for lines | How many of the set-aside pens are used, and RGB Pens…. |
RGB Pens dialog
| Part | What it does |
|---|---|
| Pen grid | The active pen set's 255 pens, 20 across as in Pens & Colors. A purple bar under a pen marks it as part of the range. Click to add or remove; Shift-click to do the rectangle from the last pen clicked. |
| Range | The same range as pen numbers, which you can also type, such as 10-20, 30-40, 55. |
| Clear | Empties the range. |
| Forget Given Colors | Frees every pen KK Tools has handed out. Their colors stay until they're reused. |
Simplify Linework dialog
| Option | What it does |
|---|---|
| Join lines that lie on one line | Lines on the same line that touch or overlap become one line; exact duplicates go. |
| Rings into circles and ellipses | A closed ring of 8 or more short lines becomes a true circle, or an ellipse (round holes seen in perspective), when every corner lies on it. |
| Chains into polylines | Remaining connected lines become one polyline each. |
| Remove lines shorter than | Deletes slivers below the length you set. Off by default. |
| Ends closer than this count as touching | The tolerance, in mm. 0.5 mm suits most linework; raise it if lines that look joined stay apart. |
Reference
Troubleshooting
| If | Then |
|---|---|
| The RGB sliders are gray with lines selected | Set up RGB pens first: RGB Pens…. |
| "All RGB pens are in use" | Widen the range in RGB Pens…, or click Forget Given Colors if the old colors aren't needed any more. |
| A pen weight change affected other elements | Weight changes the pen itself, for everything drawn with it. Undo, or give the selection its own pen first. |
| Select Same misses fills that look the same | Raise Color tolerance a little, or tick Include pen-based fills. |
| Simplify Linework left some rings as polylines | Their corners don't lie on one ellipse (for example a ring cut by another edge). They still draw the same. |
| Something else went wrong | Choose KK Tools › Send Problem Report…. |
Install, update & uninstall
| Task | How |
|---|---|
| Install | Open KK Tools <version>.pkg. Under Installation Type, tick Fill & Line Color (and View Cone if you want it). It adds KK Tools to every Archicad 30 in Applications. |
| Add or remove a tool | Run the installer again with different boxes ticked. |
| Uninstall | Choose KK Tools › Uninstall KK Tools… (it asks for your password), then restart Archicad. |
| Add-On Manager | With only Fill & Line Color installed, you can untick KK Tools for a session. With View Cone it stays always loaded, as it carries the KK View Cone object. |
| Which version do I have? | It's shown at the top right of the palette. |