Page 1 of 1

Libraries, blocks,

Posted: Thu Oct 11, 2012 2:19 pm
by andrew
From a QCAD user:

Is it possible to change the color of entities which are part of a library item or block when the layer of the inserted block reference changes.

Re: Libraries, blocks,

Posted: Thu Oct 11, 2012 2:23 pm
by andrew
Yes.

Creating the library item:
- Draw your library item like any other drawing in QCAD.
- Set the color of the entities with adjustable color to "ByBlock".
- Save the drawing into a library directory.

Using the library item:
- Insert the item into a drawing. For the inserted block reference, use the color attribute "ByLayer" (default).

How it works:
- Each entity with color set to "ByBlock" inherits its color from the block reference it is a part of.
- The block reference inherits its color from the layer it is on.