Libraries, blocks,

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Libraries, blocks,

Post by andrew » Thu Oct 11, 2012 2:19 pm

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.

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Libraries, blocks,

Post by andrew » Thu Oct 11, 2012 2:23 pm

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.

Post Reply

Return to “QCAD 'How Do I' Questions”